org.jruby.ast
Class WhenOneArgNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.WhenNode
          extended by org.jruby.ast.WhenOneArgNode
All Implemented Interfaces:
ISourcePositionHolder

public class WhenOneArgNode
extends WhenNode

Author:
enebo

Field Summary
 
Fields inherited from class org.jruby.ast.WhenNode
bodyNode, eqq, expressionNodes
 
Constructor Summary
WhenOneArgNode(ISourcePosition position, Node expressionNode, Node bodyNode, Node nextCase)
           
 
Method Summary
 IRubyObject when(IRubyObject test, ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)
           
 
Methods inherited from class org.jruby.ast.WhenNode
accept, childNodes, getBodyNode, getExpressionNodes, getNextCase, getNodeType, interpret
 
Methods inherited from class org.jruby.ast.Node
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhenOneArgNode

public WhenOneArgNode(ISourcePosition position,
                      Node expressionNode,
                      Node bodyNode,
                      Node nextCase)
Method Detail

when

public IRubyObject when(IRubyObject test,
                        ThreadContext context,
                        Ruby runtime,
                        IRubyObject self,
                        Block aBlock)
Overrides:
when in class WhenNode


Copyright © 2002-2009 JRuby Team. All Rights Reserved.