Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
These similar methods exist in v2_5_5:
binmode(mode = nil)
public
Turn newline conversion on (mode == false) or off (mode
== true), or return the current value (mode is not specified).
Show source
def binmode(mode = nil)
case mode
when nil
@options["Binmode"]
when true, false
@options["Binmode"] = mode
else
raise ArgumentError, "argument must be true or false"
end
end