Project

General

Profile

Actions

Bug #9029

closed

doc of ARGF.gets

Added by znz (Kazuhiro NISHIYAMA) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
Target version:
ruby -v:
r43329
[ruby-core:57908]

Description

rdoc of ARGF.gets says ARGF.gets return string only, but it may return nil.

doc of rb_f_gets:

  • call-seq:
  • gets(sep=$/)    -> string or nil
    
  • gets(limit)     -> string or nil
    
  • gets(sep,limit) -> string or nil
    

doc of argf_gets:

  • call-seq:
  • ARGF.gets(sep=$/)     -> string
    
  • ARGF.gets(limit)      -> string
    
  • ARGF.gets(sep, limit) -> string
    
Actions

Also available in: Atom PDF

Like0
Like0