Class: Silly::Collection
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Silly::Collection
- Defined in:
- lib/silly/collection.rb
Instance Attribute Summary collapse
-
#collection_name ⇒ Object
Returns the value of attribute collection_name.
Instance Method Summary collapse
-
#initialize(data) ⇒ Collection
constructor
A new instance of Collection.
Constructor Details
#initialize(data) ⇒ Collection
Returns a new instance of Collection.
5 6 7 |
# File 'lib/silly/collection.rb', line 5 def initialize(data) super(data) end |
Instance Attribute Details
#collection_name ⇒ Object
Returns the value of attribute collection_name.
3 4 5 |
# File 'lib/silly/collection.rb', line 3 def collection_name @collection_name end |