class LoveLetterApplication::Models::Card
Public Instance Methods
inspect()
click to toggle source
# File lib/love_letter_application/models/card.rb, line 14 def inspect "#<#{self.class} id=#{id}, rank=#{rank} targetable?=#{targetable?}>" end
targetable?()
click to toggle source
# File lib/love_letter_application/models/card.rb, line 13 def targetable?;@targetable;end
to_h()
click to toggle source
# File lib/love_letter_application/models/card.rb, line 17 def to_h {id: id, rank: rank, targetable?: targetable?} end