constant IO::SEEK_END

SEEK_END -> Integer[permalink][rdoc][edit]

IO#seek を参照してください。