@Override public synchronized RubyArray collectBang(ThreadContext context, Block block) { RubyArray result = super.collectBang(context, block); rehash(); return result; }
@Override public synchronized RubyArray collectBang(ThreadContext context, Block block) { RubyArray result = super.collectBang(context, block); rehash(); return result; }
@Override public synchronized RubyArray collectBang(ThreadContext context, Block block) { RubyArray result = super.collectBang(context, block); rehash(); return result; }
@Override public synchronized RubyArray collectBang(ThreadContext context, Block block) { RubyArray result = super.collectBang(context, block); rehash(); return result; }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "collect!") public IRubyObject collect_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorize(context.runtime, this, "collect!"); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "map!") public IRubyObject map_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorize(context.runtime, this, "map!"); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "map!") public IRubyObject map_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorize(context.runtime, this, "map!"); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "collect!") public IRubyObject collect_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorize(context.runtime, this, "collect!"); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "collect!") public IRubyObject collect_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorizeWithSize(context, this, "collect!", enumLengthFn()); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "map!") public IRubyObject map_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorizeWithSize(context, this, "map!", enumLengthFn()); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "collect!") public IRubyObject collect_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorizeWithSize(context, this, "collect!", enumLengthFn()); }
/** rb_ary_collect_bang * */ @JRubyMethod(name = "map!") public IRubyObject map_bang(ThreadContext context, Block block) { return block.isGiven() ? collectBang(context, block) : enumeratorizeWithSize(context, this, "map!", enumLengthFn()); }