# $Id: return.rb,v 1.2 2003/12/30 06:11:02 yuya Exp $ def foo(arg) return [arg, arg] end p(foo('ok')) # NodeDump V0.1.7 # # NODE_BLOCK: # NODE_NEWLINE: [return.rb:3] # NODE_DEFN: method 8961 (foo) # NODE_SCOPE: # NODE_BLOCK: # NODE_ARGS: count = 1 # additional default values: # NODE_NEWLINE: [return.rb:4] # NODE_RETURN: # NODE_ARRAY: size = 2 # NODE_LVAR: LV 2 (arg) # NODE_LVAR: LV 2 (arg) # NODE_NEWLINE: [return.rb:7] # NODE_FCALL: to function: 6753 (p) # Parameters: # NODE_ARRAY: size = 1 # NODE_FCALL: to function: 8961 (foo) # Parameters: # NODE_ARRAY: size = 1 # NODE_STR: "ok"