@JRubyMethod(name = "all?", optional = 1) public static IRubyObject all_p(ThreadContext context, IRubyObject self, IRubyObject[] args, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, args, block); return all_pCommon(context, self, args, block); }
@JRubyMethod(name = "all?", optional = 1) public static IRubyObject all_p(ThreadContext context, IRubyObject self, IRubyObject[] args, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, args, block); return all_pCommon(context, self, args, block); }
@JRubyMethod(name = "all?", compat = RUBY1_8) public static IRubyObject all_p(ThreadContext context, IRubyObject self, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, block); return all_pCommon(context, self, block, Arity.OPTIONAL); }
@JRubyMethod(name = "all?", compat = RUBY1_8) public static IRubyObject all_p(ThreadContext context, IRubyObject self, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, block); return all_pCommon(context, self, block, Arity.OPTIONAL); }
@JRubyMethod(name = "all?", compat = RUBY1_9) public static IRubyObject all_p19(ThreadContext context, IRubyObject self, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, block); return all_pCommon(context, self, block, block.arity()); }
@JRubyMethod(name = "all?", compat = RUBY1_9) public static IRubyObject all_p19(ThreadContext context, IRubyObject self, final Block block) { if (self instanceof RubyArray) return ((RubyArray) self).all_p(context, block); return all_pCommon(context, self, block, block.arity()); }