Class: Boxspring::Card
- Defined in:
- lib/boxspring/card.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Boxspring::Base
Instance Method Details
#show ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/boxspring/card.rb', line 21 def show @_show ||= begin self.attributes.include?( :show ) ? Show.new( self.attributes[ :show ] ) : nil end end |