Class: Silly::Collection

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/silly/collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

Returns the value of attribute collection_name.



3
4
5
# File 'lib/silly/collection.rb', line 3

def collection_name
  @collection_name
end