# $Id: when.rb,v 1.2 2003/12/30 06:11:02 yuya Exp $ p case 1 when 0 then :ng when 1 then :ok when 2 then :ng end # NodeDump V0.1.7 # # NODE_NEWLINE: [when.rb:7] # NODE_FCALL: to function: 6753 (p) # Parameters: # NODE_ARRAY: size = 1 # NODE_CASE: # NODE_LIT: Fixnum: 1 # NODE_ARRAY: size = 1 # NODE_LIT: Fixnum: 0 # NODE_NEWLINE: [when.rb:4] # NODE_LIT: Symbol: 8961 (ng) # NODE_ARRAY: size = 1 # NODE_LIT: Fixnum: 1 # NODE_NEWLINE: [when.rb:5] # NODE_LIT: Symbol: 8969 (ok) # NODE_ARRAY: size = 1 # NODE_LIT: Fixnum: 2 # NODE_NEWLINE: [when.rb:6] # NODE_LIT: Symbol: 8961 (ng)