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.


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

def data
  @data
end

Instance Method Details

#initialize(data) ⇒ Object


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

def initialize(data)
  self.data = data
end