Sha256: 9ec25a1f02fe52f3161b80928cfd047612c521f06576d6ddc6712bb4b12f6c6e

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:lineno:@docstringIC:YARD::Docstring":Returns the current line number in *strio*. The stringio must be
opened for reading. +lineno+ counts the number of times  +gets+ is
called, rather than the number of newlines  encountered. The two
values will differ if +gets+ is  called with a separator other than
newline.  See also the  <code>$.</code> variable.
:@objectu:YARD::StubProxyStringIO#lineno:
@summary0:
@tags[o:YARD::Tags::OverloadTag
;
u;StringIO#lineno;;;IC;	"
;
u;StringIO#lineno;0;
[o:YARD::Tags::Tag
;
0;0:@tag_name"return:@types["Integer:
@text":	@all"@return [Integer]:@ref_tags[;"
overload:@parameters[;0:@signature"lineno;0;"aReturns the current line number in *strio*. The stringio must be
opened for reading. +lineno+ counts the number of times  +gets+ is
called, rather than the number of newlines  encountered. The two
values will differ if +gets+ is  called with a separator other than
newline.  See also the  <code>$.</code> variable.


@overload lineno
  @return [Integer];[:@docstring_extra0:@visibility:public:@files[["ext/stringio/stringio.c0;
[;[:
@path"StringIO#lineno:@source_type:c:@source"�/*
 * call-seq:
 *   strio.lineno    -> integer
 *
 * Returns the current line number in *strio*. The stringio must be
 * opened for reading. +lineno+ counts the number of times  +gets+ is
 * called, rather than the number of newlines  encountered. The two
 * values will differ if +gets+ is  called with a separator other than
 * newline.  See also the  <code>$.</code> variable.
 */
static VALUE
strio_get_lineno(self)
    VALUE self;
{
    return LONG2NUM(StringIO(self)->lineno);
}:@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/lineno_i.dat