method

binmode?

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: ARGF
binmode?() public

Returns true if ARGF is being read in binary mode; false otherwise. To enable binary mode use ARGF.binmode.

For example:

ARGF.binmode?  #=> false
ARGF.binmode
ARGF.binmode?  #=> true
Show source
Register or log in to add new notes.