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.



245
246
247
# File 'lib/forest_liana/collection.rb', line 245

def data
  @data
end

Instance Method Details

#initialize(data) ⇒ Object



247
248
249
# File 'lib/forest_liana/collection.rb', line 247

def initialize(data)
  self.data = data
end