Current Path : /opt/alt/ruby18/share/ri/1.8/system/IO/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/IO/pos-i.yaml |
--- !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