Class: Moo::Model::ImageBasket
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ ImageBasket
constructor
A new instance of ImageBasket.
- #to_hash ⇒ Object
- #to_json ⇒ Object
Constructor Details
#initialize {|_self| ... } ⇒ ImageBasket
Returns a new instance of ImageBasket.
6 7 8 |
# File 'lib/moo/model/image_basket.rb', line 6 def initialize yield self if block_given? end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
4 5 6 |
# File 'lib/moo/model/image_basket.rb', line 4 def items @items end |