Class: Moo::Model::Card

Inherits:
Object show all
Defined in:
lib/moo/model/card.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Card

Returns a new instance of Card.

Yields:

  • (_self)

Yield Parameters:



7
8
9
# File 'lib/moo/model/card.rb', line 7

def initialize
  yield self if block_given?
end

Instance Attribute Details

#details_sideObject

image and details side



5
6
7
# File 'lib/moo/model/card.rb', line 5

def details_side
  @details_side
end

#image_sideObject

image and details side



5
6
7
# File 'lib/moo/model/card.rb', line 5

def image_side
  @image_side
end