Class: Finrb::Utils::NlFunctionStub
- Inherits:
-
Object
- Object
- Finrb::Utils::NlFunctionStub
- Defined in:
- lib/finrb/utils.rb
Instance Attribute Summary collapse
-
#func ⇒ Object
Returns the value of attribute func.
Instance Method Summary collapse
Instance Attribute Details
#func ⇒ Object
Returns the value of attribute func.
14 15 16 |
# File 'lib/finrb/utils.rb', line 14 def func @func end |
Instance Method Details
#values(x) ⇒ Object
24 25 26 |
# File 'lib/finrb/utils.rb', line 24 def values(x) @func.call(x) end |