Class: Reac::Array

Inherits:
Reac
  • Object
show all
Defined in:
lib/reac.rb

Instance Attribute Summary collapse

Attributes inherited from Reac

#last_update

Instance Method Summary collapse

Methods inherited from Reac

#method_missing, #value, value

Constructor Details

#initialize(ary) ⇒ Array

Returns a new instance of Array.



77
78
79
# File 'lib/reac.rb', line 77

def initialize(ary)
  @ary = ary
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Reac

Instance Attribute Details

#aryObject (readonly)

Returns the value of attribute ary.



81
82
83
# File 'lib/reac.rb', line 81

def ary
  @ary
end

#dataObject

Returns the value of attribute data.



80
81
82
# File 'lib/reac.rb', line 80

def data
  @data
end