# File test/test_parse_tree_extensions.rb, line 67 def test_proc_to_sexp_args_n util_setup_inline p = proc {|x, y| puts x + y } s = s(:iter, s(:call, nil, :proc, s(:arglist)), s(:masgn, s(:array, s(:lasgn, :x), s(:lasgn, :y))), s(:call, nil, :puts, s(:arglist, s(:call, s(:lvar, :x), :+, s(:arglist, s(:lvar, :y)))))) assert_equal s, p.to_sexp end