Class: Boxspring::Card

Inherits:
Base
  • Object
show all
Defined in:
lib/boxspring/card.rb

Direct Known Subclasses

VideoCard

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Boxspring::Base

Instance Method Details

#showObject



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