Method: BOAST::FuncCall#initialize
- Defined in:
- lib/BOAST/Algorithm.rb
#initialize(func_name, *args) ⇒ FuncCall
Returns a new instance of FuncCall.
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 |
# File 'lib/BOAST/Algorithm.rb', line 1119 def initialize(func_name, *args) @func_name = func_name if args.last.kind_of?(Hash) then = args.last @args = args[0..-2] else @args = args end @return_type = [:returns] if end |