indent_text

indent_text(string, level=1, style="\t", indentfirstline=true) Instance Public methods

package_name

package_name() Class Public methods

fileno

ARGF.fileno â fixnum Instance Public methods Returns an integer representing the numeric file descriptor for the current file. Raises an ArgumentError if there isn't a current file. ARGF.fileno #=> 3

to_a

to_a() Instance Public methods Converts the set to an array. The order of elements is uncertain.

new

new(server, prefix, args=[], meth=:call, delim=".") Class Public methods Creates an object which provides #method_missing. The given server must be an instance of XMLRPC::Client, which is the XML-RPC server to be used for a XML-RPC call. prefix and delim will be prepended to the method name called onto this object. An optional parameter meth is the method to use for a RPC. It can be either, call, call2, call_async, call2_async args are arguments which are automatically given to eve

renew

renew(sec_or_renewer) Instance Public methods Reset the expiry time according to sec_or_renewer. nil it is set to expire in the far future. true it has expired. Numeric it will expire in that many seconds. Otherwise the argument refers to some kind of renewer object which will reset its expiry time.

seek

ios.seek(amount, whence=IO::SEEK_SET) â 0 Instance Public methods Seeks to a given offset anInteger in the stream according to the value of whence: IO::SEEK_CUR | Seeks to _amount_ plus current position --------------+---------------------------------------------------- IO::SEEK_END | Seeks to _amount_ plus end of stream (you probably | want a negative value for _amount_) --------------+---------------------------------------------------- IO::SEEK_SET | Seeks to

constants

Module.constants â arrayModule.constants(inherited) â array Class Public methods In the first form, returns an array of the names of all constants accessible from the point of call. This list includes the names of all modules and classes defined in the global scope. Module.constants.first(4) # => [:ARGF, :ARGV, :ArgumentError, :Array] Module.constants.include?(:SEEK_SET) # => false class IO Module.constants.include?(:SEEK_SET) # => true end The second form c

both?

both?() Instance Public methods Is fetching of local and remote information enabled?

public_decrypt

rsa.public_decrypt(string) => Stringrsa.public_decrypt(string, padding) => String Instance Public methods Decrypt string, which has been encrypted with the private key, with the public key. padding defaults to PKCS1_PADDING.