Class: Finrb::Utils::NlFunctionStub

Inherits:
Object
  • Object
show all
Defined in:
lib/finrb/utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#funcObject

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