|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.Binding
public class Binding
Internal live representation of a block ({...} or do ... end).
Constructor Summary | |
---|---|
Binding(Frame frame,
RubyModule bindingClass,
DynamicScope dynamicScope)
|
|
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope)
|
Method Summary | |
---|---|
Binding |
cloneBinding()
|
DynamicScope |
getDynamicScope()
Gets the dynamicVariables that are local to this block. |
Frame |
getFrame()
Gets the frame. |
RubyModule |
getKlass()
Gets the klass. |
IRubyObject |
getSelf()
|
Visibility |
getVisibility()
|
boolean |
isGiven()
Is the current block a real yield'able block instead a null one |
void |
setSelf(IRubyObject self)
|
void |
setVisibility(Visibility visibility)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Binding(IRubyObject self, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope)
public Binding(Frame frame, RubyModule bindingClass, DynamicScope dynamicScope)
Method Detail |
---|
public Binding cloneBinding()
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public IRubyObject getSelf()
public void setSelf(IRubyObject self)
public DynamicScope getDynamicScope()
public Frame getFrame()
public RubyModule getKlass()
public boolean isGiven()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |