📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 14:10:42
📂
/
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
✏️
Editing: lineno%3d-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Manually sets the current line number to the given value. <tt>$.</tt> is updated only on the next read. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.gets #=> "This is line one\\n"\n $. #=> 1\n f.lineno = 1000\n f.lineno #=> 1000\n $. # lineno of last read #=> 1\n f.gets #=> "This is line two\\n"\n $. # lineno of last read #=> 1001\n" full_name: IO#lineno= is_singleton: false name: lineno= params: | ios.lineno = integer => integer visibility: public
💾 Save Changes
❌ Cancel