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 interface
Getline.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, boolean keywords, IRubyObject... args) 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) Deprecated.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, boolean keywords) 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) Deprecated.static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject... args) Deprecated.static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, boolean keywords) static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, Block block) Deprecated.static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, Block block, boolean keywords) static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1) Deprecated.static <Self,
Return extends IRubyObject>
ReturngetlineCall
(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0, IRubyObject arg1, boolean keywords) 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) Deprecated.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, boolean keywords) 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) Deprecated.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, boolean keywords) 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) Deprecated.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, boolean keywords)
-
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
@Deprecated public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject arg0) Deprecated. -
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, boolean keywords) -
getlineCall
@Deprecated 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) Deprecated. -
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, boolean keywords) -
getlineCall
@Deprecated 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) Deprecated. -
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, boolean keywords) -
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
@Deprecated 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) Deprecated. -
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, boolean keywords) -
getlineCall
@Deprecated 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) Deprecated. -
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, boolean keywords) -
getlineCall
@Deprecated 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) Deprecated. -
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, boolean keywords) -
getlineCall
@Deprecated public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, IRubyObject... args) Deprecated. -
getlineCall
public static <Self,Return extends IRubyObject> Return getlineCall(ThreadContext context, Getline.Callback<Self, Return> getline, Self self, org.jcodings.Encoding enc_io, boolean keywords, IRubyObject... args) -
getlineCall
@Deprecated 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) Deprecated. -
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, boolean keywords)
-