no_color!

no_color!() Class Public methods Remove the color from output.

getc

getc() Instance Public methods See Zlib::GzipReader documentation for a description.

at_middle_of_day

at_middle_of_day() Instance Public methods Alias for: middle_of_day

%

%(args) Instance Public methods

button_bind_remove

button_bind_remove(seq) Instance Public methods

element_create

element_create(elem, type, keys=nil) Instance Public methods

close_read

strio.close_read â nil Instance Public methods Closes the read end of a StringIO. Will raise an IOError if the strio is not readable.

covector

covector() Instance Public methods Creates a single-row matrix from this vector.

tcp

Socket.tcp(host, port, local_host=nil, local_port=nil, [opts]) {|socket| ... }Socket.tcp(host, port, local_host=nil, local_port=nil, [opts]) Class Public methods creates a new socket object connected to host:port using TCP/IP. If local_host:local_port is given, the socket is bound to it. The optional last argument opts is options represented by a hash. opts may have following options: :connect_timeout specify the timeout in seconds. If a block is given, the block is called wi

error_bytes

ecerr.error_bytes â string Instance Public methods Returns the discarded bytes when Encoding::InvalidByteSequenceError occurs. ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1") begin ec.convert("abc\xA1\xFFdef") rescue Encoding::InvalidByteSequenceError p $! #=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP> puts $!.error_bytes.dump #=> "\xA1" puts $!.readagain_bytes.dump #=> "\xFF" end