Class: Mobx::Computed
- Inherits:
-
Object
- Object
- Mobx::Computed
- Defined in:
- lib/mobx/computed.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(block) ⇒ Computed
constructor
A new instance of Computed.
Constructor Details
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/mobx/computed.rb', line 3 def value @value end |