public static Binding frameBinding(ThreadContext context, IRubyObject self, DynamicScope scope) { Frame frame = context.getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility()); }
public static Binding frameScopeBinding(ThreadContext context, IRubyObject self, DynamicScope scope) { Frame frame = context.getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), scope); }
public static Binding frameScopeBinding(ThreadContext context, IRubyObject self, DynamicScope scope) { Frame frame = context.getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), scope); }
public static Binding frameBinding(ThreadContext context, IRubyObject self, DynamicScope scope) { Frame frame = context.getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility()); }
/** * Return a binding representing the current call's state but with the * specified scope and self. * @param self the self object to use * @param scope the scope to use * @return the current binding using the specified self and scope */ public Binding currentBinding(IRubyObject self, DynamicScope scope) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), getRubyClass(), scope, backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with the * specified visibility and self. * @param self the self object to use * @param visibility the visibility to use * @return the current binding using the specified self and visibility */ public Binding currentBinding(IRubyObject self, Visibility visibility) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, visibility, getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with the * specified visibility and self. * @param self the self object to use * @param visibility the visibility to use * @return the current binding using the specified self and visibility */ public Binding currentBinding(IRubyObject self, Visibility visibility) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, visibility, getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with the * specified scope and self. * @param self the self object to use * @param scope the scope to use * @return the current binding using the specified self and scope */ public Binding currentBinding(IRubyObject self, DynamicScope scope) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), getRubyClass(), scope, backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with a specified self * @param self the self object to use * @return the current binding, using the specified self */ public Binding currentBinding(IRubyObject self) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with the * specified visibility and self. * @param self the self object to use * @param visibility the visibility to use * @return the current binding using the specified self and visibility */ public Binding currentBinding(IRubyObject self, Visibility visibility) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, visibility, getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state * @return the current binding */ public Binding currentBinding() { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(frame, getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state but with the * specified scope and self. * @param self the self object to use * @param scope the scope to use * @return the current binding using the specified self and scope */ public Binding currentBinding(IRubyObject self, DynamicScope scope) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, frame.getVisibility(), scope, elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state but with the * specified visibility and self. * @param self the self object to use * @param visibility the visibility to use * @return the current binding using the specified self and visibility */ public Binding currentBinding(IRubyObject self, Visibility visibility) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, visibility, getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state * @return the current binding */ public Binding currentBinding() { Frame frame = getCurrentFrame().capture(); return new Binding(frame, parentIndex < 0 ? frame.getKlazz() : getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state * @return the current binding */ public Binding currentBinding() { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(frame, getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state but with the * specified scope and self. * @param self the self object to use * @param scope the scope to use * @return the current binding using the specified self and scope */ public Binding currentBinding(IRubyObject self, DynamicScope scope) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, frame.getVisibility(), scope, elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state * @return the current binding */ public Binding currentBinding() { Frame frame = getCurrentFrame().capture(); return new Binding(frame, parentIndex < 0 ? frame.getKlazz() : getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with a specified self * @param self the self object to use * @return the current binding, using the specified self */ public Binding currentBinding(IRubyObject self) { Frame frame = getCurrentFrame().capture(); return new Binding(self, frame, frame.getVisibility(), getRubyClass(), getCurrentScope(), backtrace[backtraceIndex].clone()); }
/** * Return a binding representing the current call's state but with a specified self * @param self the self object to use * @return the current binding, using the specified self */ public Binding currentBinding(IRubyObject self) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, frame.getVisibility(), getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }
/** * Return a binding representing the current call's state but with a specified self * @param self the self object to use * @return the current binding, using the specified self */ public Binding currentBinding(IRubyObject self) { Frame frame = getCurrentFrame().capture(); BacktraceElement elt = backtrace[backtraceIndex]; return new Binding(self, frame, frame.getVisibility(), getCurrentScope(), elt.getMethod(), elt.getFilename(), elt.getLine()); }