3 ms·
>Having to write out IO::SEEK_SET in Ruby really bothers me You don't have to. The 2nd argument is optional and defaults to IO::SEEK_SET. (Source: http://www.r
by cremno 14y ago
>Having to write out IO::SEEK_SET in Ruby really bothers me
You don't have to. The 2nd argument is optional and defaults to IO::SEEK_SET. (Source: http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-seek http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-seek)