@Deprecated public RubyHash replace19(final ThreadContext context, IRubyObject other) { return replace(context, other); }
@Deprecated public RubyHash replace19(final ThreadContext context, IRubyObject other) { return replace(context, other); }
@JRubyMethod(name = "initialize_copy", required = 1, visibility = PRIVATE) public RubyHash initialize_copy(ThreadContext context, IRubyObject other) { return replace(context, other); }
/** rb_hash_replace * */ @JRubyMethod(visibility = PRIVATE, compat = RUBY1_8) public RubyHash initialize_copy(ThreadContext context, IRubyObject other) { return replace(context, other); }
/** rb_hash_replace * */ @JRubyMethod(visibility = PRIVATE, compat = RUBY1_8) public RubyHash initialize_copy(ThreadContext context, IRubyObject other) { return replace(context, other); }
@JRubyMethod(name = "initialize_copy", required = 1, visibility = PRIVATE) public RubyHash initialize_copy(ThreadContext context, IRubyObject other) { return replace(context, other); }
@Override public RubyHash to_hash() { Ruby runtime = getRuntime(); RubyHash hash = RubyHash.newHash(runtime); hash.replace(runtime.getCurrentContext(), this); return hash; }
@Override public RubyHash to_hash() { Ruby runtime = getRuntime(); RubyHash hash = RubyHash.newHash(runtime); hash.replace(runtime.getCurrentContext(), this); return hash; }
@Override public RubyHash to_hash() { Ruby runtime = getRuntime(); RubyHash hash = RubyHash.newHash(runtime); hash.replace(runtime.getCurrentContext(), this); return hash; }
@Override public RubyHash to_hash() { Ruby runtime = getRuntime(); RubyHash hash = RubyHash.newHash(runtime); hash.replace(runtime.getCurrentContext(), this); return hash; }
@JRubyMethod public RubyHash to_h(ThreadContext context) { final Ruby runtime = context.runtime; return getType() == runtime.getHash() ? this : newHash(runtime).replace(context, this); }
@JRubyMethod public RubyHash to_h(ThreadContext context) { final Ruby runtime = context.runtime; return getType() == runtime.getHash() ? this : newHash(runtime).replace(context, this); }
@JRubyMethod public RubyHash to_h(ThreadContext context) { return getType() == getRuntime().getHash() ? this : newHash(getRuntime()).replace(context, this); }
@JRubyMethod public RubyHash to_h(ThreadContext context) { return getType() == getRuntime().getHash() ? this : newHash(getRuntime()).replace(context, this); }