Sha256: 474af894cd981ea22d3019698529cc3526fdd2eacd8d348d18561c3371ce8b93

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	eof?:@docstringIC:YARD::Docstring"wReturns true if *strio* is at end of file. The stringio must be
opened for reading or an +IOError+ will be raised.
:@objectu:YARD::StubProxyStringIO#eof?:
@summary0:
@tags[o:YARD::Tags::OverloadTag
;
u;StringIO#eof?;:eof;IC;	"
;
u;StringIO#eof?;0;
[o:YARD::Tags::Tag
;
0;0:@tag_name"return:@types["Boolean:
@text":	@all"@return [Boolean]:@ref_tags[;"
overload:@parameters[;0:@signature"eof;0o;
;
u;StringIO#eof?;;;IC;	"
;
u;StringIO#eof?;0;
[o;
;
0;0;"return;["Boolean;";"@return [Boolean];[;"
overload;[;0;"	eof?;0;"�Returns true if *strio* is at end of file. The stringio must be
opened for reading or an +IOError+ will be raised.


@overload eof
  @return [Boolean]
@overload eof?
  @return [Boolean];[:@docstring_extra0:@visibility:public:@files[["ext/stringio/stringio.c0;
[;[:
@path"StringIO#eof?:@source_type:c:@source"�/*
 * call-seq:
 *   strio.eof     -> true or false
 *   strio.eof?    -> true or false
 *
 * Returns true if *strio* is at end of file. The stringio must be  
 * opened for reading or an +IOError+ will be raised.
 */
static VALUE
strio_eof(self)
    VALUE self;
{
    struct StringIO *ptr = readable(StringIO(self));
    if (ptr->pos < RSTRING(ptr->string)->len) return Qfalse;
    return Qtrue;
}:@namespaceu;
StringIO:@scope:
instance:@current_file_has_commentsF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-0.6.9pre1-i386-mingw32 lib/pry/stdlib_docs18/objects/StringIO/eof_3F_i.dat