telnetmode

telnetmode(mode = nil) Instance Public methods Set telnet command interpretation on (mode == true) or off (mode == false), or return the current value (mode not provided). It should be on for true telnet sessions, off if using Net::Telnet to connect to a non-telnet service such as SMTP.

telnetmode=

telnetmode=(mode) Instance Public methods Turn telnet command interpretation on (true) or off (false). It should be on for true telnet sessions, off if using Net::Telnet to connect to a non-telnet service such as SMTP.

waitfor

waitfor(options) Instance Public methods Read data from the host until a certain sequence is matched. If a block is given, the received data will be yielded as it is read in (not necessarily all in one go), or nil if EOF occurs before any data is received. Whether a block is given or not, all data read will be returned in a single string, or again nil if EOF occurs before any data is received. Note that received data includes the matched sequence we were looking for. options can b

write

write(string) Instance Public methods Write string to the host. Does not perform any conversions on string. Will log string to the dumplog, if the Dump_log option is set.

nlsolve

nlsolve(f,x) Instance Public methods

norm

norm(fv,zero=0.0) Instance Public methods

&

false & obj â falsenil & obj â false Instance Public methods AndâReturns false. obj is always evaluated as it is the argument to a method callâthere is no short-circuit evaluation in this case.

^

false ^ obj â true or falsenil ^ obj â true or false Instance Public methods Exclusive OrâIf obj is nil or false, returns false; otherwise, returns true.

inspect

nil.inspect â "nil" Instance Public methods Always returns the string ânilâ.

nil?

nil?() Instance Public methods call_seq: nil.nil? -> true Only the object nil responds true to nil?.