lib/kompiler/mc_builder.rb in kompiler-0.2.0.pre.2 vs lib/kompiler/mc_builder.rb in kompiler-0.2.0

- old
+ new

@@ -38,9 +38,10 @@ end eval_mc_node_arg(args.last, state) end}, {name: "raise_error", n_args: 1, func: lambda {|args, state| raise args[0] } }, {name: "get_key", n_args: 2, func: lambda {|args, state| args[0][args[1]] }}, + {name: "concat", n_args: "any", func: lambda {|args, state| args.flatten}}, ] def self.is_ast_node(val) val.is_a?(Array) && (val.size >= 1) && val[0].is_a?(String) end \ No newline at end of file