/** rb_str_split_m * */ @Deprecated public RubyArray split19(ThreadContext context) { return split(context); }
/** rb_str_split_m * */ @Deprecated public RubyArray split19(ThreadContext context) { return split(context); }
@Deprecated public RubyArray split19(ThreadContext context, IRubyObject arg0, IRubyObject arg1) { return split(context, arg0, arg1); }
@Deprecated public RubyArray split19(ThreadContext context, IRubyObject arg0, IRubyObject arg1) { return split(context, arg0, arg1); }
@Deprecated public RubyArray split19(ThreadContext context, IRubyObject arg0) { return split(context, arg0); }
@Deprecated public RubyArray split19(ThreadContext context, IRubyObject arg0) { return split(context, arg0); }
@JRubyMethod(name = "split", writes = BACKREF) public RubyArray split(ThreadContext context) { return split(context, context.nil); }
@JRubyMethod(name = "split", writes = BACKREF) public RubyArray split(ThreadContext context) { return split(context, context.nil); }
/** rb_str_split_m * */ @JRubyMethod(name = "split", writes = BACKREF, compat = RUBY1_8) public RubyArray split(ThreadContext context) { return split(context, context.runtime.getNil()); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv) { return getLastlineString(context, context.runtime).split(context); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv, IRubyObject arg0) { return getLastlineString(context, context.runtime).split(context, arg0); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv, IRubyObject arg0) { return getLastlineString(context, context.runtime).split(context, arg0); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) { return getLastlineString(context, context.runtime).split(context, arg0, arg1); }
/** rb_str_split_m * */ @JRubyMethod(name = "split", writes = BACKREF, compat = RUBY1_8) public RubyArray split(ThreadContext context) { return split(context, context.runtime.getNil()); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv) { return getLastlineString(context, context.runtime).split(context); }
@JRubyMethod(module = true, visibility = PRIVATE, reads = LASTLINE, writes = {LASTLINE, BACKREF}, compat = RUBY1_8) public static IRubyObject split(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1) { return getLastlineString(context, context.runtime).split(context, arg0, arg1); }
public static IRubyObject const_find(IRubyObject self, IRubyObject const_name) { RubyModule tclass = self.getRuntime().getObject(); RubyArray tparts = ((RubyString)const_name).split(self.getRuntime().getCurrentContext(), self.getRuntime().newString("::")); for(int i=0; i < tparts.getLength(); i++) { String tpart = tparts.entry(i).toString(); try { tclass = (RubyModule)tclass.getConstant(tpart); } catch(Exception e) { return self.getRuntime().getNil(); } } return tclass; }
IRubyObject re = match.post_match(context); RubyArray a = nu.split(RubyRegexp.newDummyRegexp(runtime, Numeric.RationalPatterns.an_e_pat), context, false); RubyString ifp = (RubyString)a.eltInternal(0); IRubyObject exp = a.size() != 2 ? nil : a.eltInternal(1); a = ifp.split(RubyRegexp.newDummyRegexp(runtime, Numeric.RationalPatterns.a_dot_pat), context, false); IRubyObject ip = a.eltInternal(0); IRubyObject fp = a.size() != 2 ? nil : a.eltInternal(1);
IRubyObject re = match.post_match(context); RubyArray a = nu.split(RubyRegexp.newDummyRegexp(runtime, Numeric.RationalPatterns.an_e_pat), context, false); RubyString ifp = (RubyString)a.eltInternal(0); IRubyObject exp = a.size() != 2 ? nil : a.eltInternal(1); a = ifp.split(RubyRegexp.newDummyRegexp(runtime, Numeric.RationalPatterns.a_dot_pat), context, false); IRubyObject ip = a.eltInternal(0); IRubyObject fp = a.size() != 2 ? nil : a.eltInternal(1);