tagfontobj

tagfontobj(tagOrId, key = nil) Instance Public methods Alias for: tagfont_configinfo

new

Socket.new(domain, socktype [, protocol]) => socket Class Public methods Creates a new socket object. domain should be a communications domain such as: :INET, :INET6, :UNIX, etc. socktype should be a socket type such as: :STREAM, :DGRAM, :RAW, etc. protocol is optional and should be a protocol defined in the domain. If protocol is not given, 0 is used internally. Socket.new(:INET, :STREAM) # TCP socket Socket.new(:INET, :DGRAM) # UDP socket Socket.new(:UNIX, :STREAM) # UNIX st

highlight

highlight(index) Instance Public methods Alias for: activate

fixed_encoding?

rxp.fixed_encoding? â true or false Instance Public methods Returns false if rxp is applicable to a string with any ASCII compatible encoding. Returns true otherwise. r = /a/ r.fixed_encoding? #=> false r =~ "\u{6666} a" #=> 2 r =~ "\xa1\xa2 a".force_encoding("euc-jp") #=> 2 r =~ "abc".force_encoding("euc-jp") #=> 0 r = /a/u r.fixed_encoding? #=> true r.enco

fail

failfail(string)fail(exception [, string [, array]]) Instance Public methods With no arguments, raises the exception in $! or raises a RuntimeError if $! is nil. With a single String argument, raises a RuntimeError with the string as a message. Otherwise, the first parameter should be the name of an Exception class (or an object that returns an Exception object when sent an exception message). The optional second parameter sets the message associated with the exception, and the thi

add_file_digest

add_file_digest(name, mode, digest_algorithms) Instance Public methods Adds name with permissions mode to the tar, yielding io for writing the file. The digest_algorithm is written to a read-only name.sum file following the given file contents containing the digest name and hexdigest separated by a tab. The created digest object is returned.

exit!

exit!(st = false) Class Public methods

substitute_at

substitute_at(column, index) Instance Public methods Returns a bind substitution value given a bind index and column NOTE: The column param is currently being used by the sqlserver-adapter

empty_insert_statement_value

empty_insert_statement_value() Instance Public methods

sysread

ssl.sysread(length) => stringssl.sysread(length, buffer) => buffer Instance Public methods Reads length bytes from the SSL connection. If a pre-allocated buffer is provided the data will be written into it.