Class: Reac::Value

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(data) ⇒ Value

Returns a new instance of Value.



54
55
56
# File 'lib/reac.rb', line 54

def initialize(data)
  @data = data
end

Dynamic Method Handling

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

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



57
58
59
# File 'lib/reac.rb', line 57

def data
  @data
end