public Method

Telnet.binmode=(mode)

Turn newline conversion on (false) or off (true).

Source Code

# File net/telnet.rb, line 420
def binmode=(mode)
  if (true == mode or false == mode)
    @options["Binmode"] = mode
  else
    raise ArgumentError, "argument must be true or false"
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.