binmode

ARGF.binmode â ARGF
Instance Public methods

Puts ARGF into binary mode. Once a stream is in binary mode, it cannot be reset to non-binary mode. This option has the following effects:

  • Newline conversion is disabled.

  • Encoding conversion is disabled.

  • Content is treated as ASCII-8BIT.

doc_ruby_on_rails
2015-03-30 10:16:13
Comments
Leave a Comment

Please login to continue.