Issue #6643 has been updated by ko1 (Koichi Sasada).

Status changed from Open to Assigned
Assignee set to akr (Akira Tanaka)


----------------------------------------
Feature #6643: io.seek(off, :end)
https://bugs.ruby-lang.org/issues/6643#change-28115

Author: akr (Akira Tanaka)
Status: Assigned
Priority: Normal
Assignee: akr (Akira Tanaka)
Category: 
Target version: 


IO#seek ??????????? whence ????????????????????????????????????????????????????

????????
  io.seek(0, IO::SEEK_END)
????????????
  io.seek(0, :end)
????????????????????????????????????????????

IO::SEEK_END ????価??????????? :end,
IO::SEEK_CUR ????価??????????? :cur,
IO::SEEK_SET ????価??????????? :set ???
??????????????????????????????

??????????????????????????????
?????????????? seek ???使?????????
  io.seek(IO::SEEK_END)
?????????????????????????????????? IO::SEEK_END ??? 2 ??????
  io.seek(2)
?????
  io.seek(2, IO::SEEK_SET)
??解?????????????????????????????????????????????

???????????????????????????????????????IO::SEEK_END ????? :end ???
???????????????????
  io.seek(:end)
??? can't convert Symbol into Integer (TypeError) ???????????????????????????
?????????????????

?????????????????????????????????????????????????????????索????????
  http://jira.codehaus.org/browse/JRUBY-1897
  http://rubyforge.org/pipermail/biocatalogue-developers/attachments/20100512/2eacb73c/attachment-0001.html
??????????????????????????????????

????????????????????



-- 
http://bugs.ruby-lang.org/