Class: Reac::Value
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Attributes inherited from Reac
Instance Method Summary collapse
-
#initialize(data) ⇒ Value
constructor
A new instance of Value.
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
#data ⇒ Object (readonly)
Returns the value of attribute data.
57 58 59 |
# File 'lib/reac.rb', line 57 def data @data end |