* enum.c: Documentation: small fixes
* file.c: ditto * io.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c1ecff1b1e
commit
c5b5ab0935
26
io.c
26
io.c
@ -6676,7 +6676,7 @@ argf_set_lineno(VALUE argf, VALUE val)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* ARGF.lineno->Integer
|
||||
* ARGF.lineno -> integer
|
||||
*
|
||||
* Returns the current line number of the current file in +ARGF+. This value
|
||||
* can be set manually with +ARGF.lineno=+.
|
||||
@ -6939,9 +6939,9 @@ rb_f_gets(int argc, VALUE *argv, VALUE recv)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* ARGF.gets(sep=$/) -> String
|
||||
* ARGF.gets(limit) -> String
|
||||
* ARGF.gets(sep, limit)->String
|
||||
* ARGF.gets(sep=$/) -> string
|
||||
* ARGF.gets(limit) -> string
|
||||
* ARGF.gets(sep, limit) -> string
|
||||
*
|
||||
* Returns the next line from the current file in +ARGF+.
|
||||
*
|
||||
@ -7013,9 +7013,9 @@ rb_f_readline(int argc, VALUE *argv, VALUE recv)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* ARGF.readline(sep=$/) -> String
|
||||
* ARGF.readline(limit) -> String
|
||||
* ARGF.readline(sep, limit)->String
|
||||
* ARGF.readline(sep=$/) -> string
|
||||
* ARGF.readline(limit) -> string
|
||||
* ARGF.readline(sep, limit) -> string
|
||||
*
|
||||
* Returns the next line from the current file in +ARGF+.
|
||||
*
|
||||
@ -7065,13 +7065,13 @@ rb_f_readlines(int argc, VALUE *argv, VALUE recv)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* ARGF.readlines(sep=$/) -> Array
|
||||
* ARGF.readlines(limit) -> Array
|
||||
* ARGF.readlines(sep, limit)->Array
|
||||
* ARGF.readlines(sep=$/) -> array
|
||||
* ARGF.readlines(limit) -> array
|
||||
* ARGF.readlines(sep, limit) -> array
|
||||
*
|
||||
* ARGF.to_a(sep=$/) -> Array
|
||||
* ARGF.to_a(limit) -> Array
|
||||
* ARGF.to_a(sep, limit)->Array
|
||||
* ARGF.to_a(sep=$/) -> array
|
||||
* ARGF.to_a(limit) -> array
|
||||
* ARGF.to_a(sep, limit) -> array
|
||||
*
|
||||
* Reads +ARGF+'s current file in its entirety, returning an +Array+ of its
|
||||
* lines, one line per element. Lines are assumed to be separated by _sep_.
|
||||
|
Loading…
x
Reference in New Issue
Block a user