org.jruby.runtime.assigner
Class Pre0Rest1Post0BlockAssigner

java.lang.Object
  extended by org.jruby.runtime.assigner.Assigner
      extended by org.jruby.runtime.assigner.Pre0Rest1Post0BlockAssigner

public class Pre0Rest1Post0BlockAssigner
extends Assigner

Assign to a single rest argument and a block variable |*r, &b|.


Constructor Summary
Pre0Rest1Post0BlockAssigner(Node rest, Node blockVar)
           
 
Method Summary
 void assign(Ruby runtime, ThreadContext context, IRubyObject self, Block block)
           
 void assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject[] values, Block block)
           
 void assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value1, Block block)
           
 void assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value1, IRubyObject value2, Block block)
           
 void assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value1, IRubyObject value2, IRubyObject value3, Block block)
           
 void assignArray(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject arg, Block block)
           
 IRubyObject convertToArray(Ruby runtime, IRubyObject value)
           
 
Methods inherited from class org.jruby.runtime.assigner.Assigner
convertIfAlreadyArray, shiftedArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pre0Rest1Post0BlockAssigner

public Pre0Rest1Post0BlockAssigner(Node rest,
                                   Node blockVar)
Method Detail

assign

public void assign(Ruby runtime,
                   ThreadContext context,
                   IRubyObject self,
                   Block block)
Specified by:
assign in class Assigner

assign

public void assign(Ruby runtime,
                   ThreadContext context,
                   IRubyObject self,
                   IRubyObject value1,
                   Block block)
Specified by:
assign in class Assigner

assign

public void assign(Ruby runtime,
                   ThreadContext context,
                   IRubyObject self,
                   IRubyObject value1,
                   IRubyObject value2,
                   Block block)
Specified by:
assign in class Assigner

assign

public void assign(Ruby runtime,
                   ThreadContext context,
                   IRubyObject self,
                   IRubyObject value1,
                   IRubyObject value2,
                   IRubyObject value3,
                   Block block)
Specified by:
assign in class Assigner

assign

public void assign(Ruby runtime,
                   ThreadContext context,
                   IRubyObject self,
                   IRubyObject[] values,
                   Block block)
Specified by:
assign in class Assigner

assignArray

public void assignArray(Ruby runtime,
                        ThreadContext context,
                        IRubyObject self,
                        IRubyObject arg,
                        Block block)
Specified by:
assignArray in class Assigner

convertToArray

public IRubyObject convertToArray(Ruby runtime,
                                  IRubyObject value)
Overrides:
convertToArray in class Assigner


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