Class: GRCommons::Fiddley::Function
- Inherits:
-
Fiddle::Closure::BlockCaller
- Object
- Fiddle::Closure::BlockCaller
- GRCommons::Fiddley::Function
- Includes:
- Utils
- Defined in:
- lib/gr_commons/fiddley.rb
Constant Summary
Constants included from Utils
Utils::SIZET_FORMAT, Utils::SIZET_TYPE
Instance Method Summary collapse
-
#initialize(ret, params, &blk) ⇒ Function
constructor
A new instance of Function.
Methods included from Utils
array2str, str2array, type2size, type2type
Constructor Details
#initialize(ret, params, &blk) ⇒ Function
Returns a new instance of Function.
415 416 417 |
# File 'lib/gr_commons/fiddley.rb', line 415 def initialize(ret, params, &blk) super(type2type(ret), params.map { |e| type2type(e) }, &blk) end |