D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
pos-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current offset (in bytes) of <em>ios</em>. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.pos #=> 0\n f.gets #=> "This is line one\\n"\n f.pos #=> 17\n" full_name: IO#pos is_singleton: false name: pos params: | ios.pos => integer ios.tell => integer visibility: public