# $Id: defined.rb,v 1.3 2003/12/30 06:11:01 yuya Exp $ p(defined?(foo)) def foo end p(defined?(foo)) # NodeDump V0.1.7 # # NODE_BLOCK: # NODE_NEWLINE: [defined.rb:3] # NODE_FCALL: to function: 6753 (p) # Parameters: # NODE_ARRAY: size = 1 # NODE_DEFINED: # NODE_VCALL: self.foo # NODE_NEWLINE: [defined.rb:5] # NODE_DEFN: method 8961 (foo) # NODE_SCOPE: # NODE_ARGS: count = 0 # additional default values: # NODE_NEWLINE: [defined.rb:8] # NODE_FCALL: to function: 6753 (p) # Parameters: # NODE_ARRAY: size = 1 # NODE_DEFINED: # NODE_VCALL: self.foo