Class: Nydp::Builtin::HashMerge
- Defined in:
- lib/nydp/builtin/hash.rb
Instance Method Summary collapse
Methods included from Helper
#cons, #list, #literal?, #pair?, #sig, #sym, #sym?
Methods included from Converter
Methods included from Base
#builtin_invoke_1, #builtin_invoke_2, #builtin_invoke_3, #builtin_invoke_4, #handle_error, #inspect, #invoke, #invoke_1, #invoke_2, #invoke_3, #invoke_4, #name, #nydp_type, #to_s
Instance Method Details
#builtin_invoke(vm, args) ⇒ Object
62 63 64 65 66 67 |
# File 'lib/nydp/builtin/hash.rb', line 62 def builtin_invoke vm, args hash_0 = args.car hash_1 = args.cdr.car vm.push_arg hash_0.merge hash_1 end |