Class: GRCommons::Fiddley::Function

Inherits:
Fiddle::Closure::BlockCaller
  • Object
show all
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

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