@Override protected RubyModule getProtectedClass() { return delegate.getProtectedClass(); }
@Override protected RubyModule getProtectedClass() { return delegate.getProtectedClass(); }
@Override protected RubyModule getProtectedClass() { return delegate.getProtectedClass(); }
@Override protected RubyModule getProtectedClass() { return delegate.getProtectedClass(); }
/** * Determine whether the given object can safely invoke protected methods on * the class this method is bound to. * * @param caller The calling object * @return true if the calling object can call protected methods; false * otherwise */ private boolean protectedAccessOk(IRubyObject caller) { return getProtectedClass().isInstance(caller); }
/** * Determine whether the given object can safely invoke protected methods on * the class this method is bound to. * * @param caller The calling object * @return true if the calling object can call protected methods; false * otherwise */ private boolean protectedAccessOk(IRubyObject caller) { return getProtectedClass().isInstance(caller); }
/** * Determine whether the given object can safely invoke protected methods on * the class this method is bound to. * * @param caller The calling object * @return true if the calling object can call protected methods; false * otherwise */ private boolean protectedAccessOk(IRubyObject caller) { return getProtectedClass().isInstance(caller); }
/** * Determine whether the given object can safely invoke protected methods on * the class this method is bound to. * * @param caller The calling object * @return true if the calling object can call protected methods; false * otherwise */ private boolean protectedAccessOk(IRubyObject caller) { return getProtectedClass().isInstance(caller); }
@Override protected RubyModule getProtectedClass() { if (compiledMethod == null) initializeMethod(); return compiledMethod.getProtectedClass(); }
@Override protected RubyModule getProtectedClass() { if (compiledMethod == null) initializeMethod(); return compiledMethod.getProtectedClass(); }