Module: ForestLiana::Collection

Extended by:
ActiveSupport::Concern
Defined in:
lib/forest_liana/collection.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data.



221
222
223
# File 'lib/forest_liana/collection.rb', line 221

def data
  @data
end

Instance Method Details

#initialize(data) ⇒ Object



223
224
225
# File 'lib/forest_liana/collection.rb', line 223

def initialize(data)
  self.data = data
end