Package org.jruby.util.io
Class Getline
java.lang.Object
org.jruby.util.io.Getline
Encapsulation of the prepare_getline_args logic from MRI, used by StringIO and IO.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceGetline.Callback<Self,Return extends IRubyObject> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, int argc, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, Block block) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, Block block) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, Block block) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static <Self,Return extends IRubyObject>
ReturngetlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
-
Constructor Details
-
Getline
public Getline()
-
-
Method Details
-
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, Block block) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, Block block) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, Block block) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, int argc, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
-