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.
13 14 15 |
# File 'lib/finrb/utils.rb', line 13 def func @func end |
Instance Method Details
#values(x) ⇒ Object
23 24 25 |
# File 'lib/finrb/utils.rb', line 23 def values(x) @func.call(x) end |