1
0
Fork 0
dokkan-data-rails/app/models/super_attack.rb

9 lines
167 B
Ruby
Raw Normal View History

2015-10-06 13:55:12 -04:00
class SuperAttack < ActiveRecord::Base
validates :name, presence: true
validates :description, presence: true
2015-10-08 13:02:25 -04:00
def full
"#{name} - #{description}"
end
2015-10-06 13:55:12 -04:00
end