winfo_y

winfo_y() Instance Public methods

decode

decode(str) Class Public methods Decodes string str with base64 and returns that value.

encode

encode(str) Class Public methods Encodes string str with base64 and returns that value.

new

new(str, state = :dec) Class Public methods Creates a new XMLRPC::Base64 instance with string str as the internal string. When state is :dec it assumes that the string str is not in base64 format (perhaps already decoded), otherwise if state is :enc it decodes str and stores it as the internal string.

decoded

decoded() Instance Public methods Returns the decoded internal string.

encoded

encoded() Instance Public methods Returns the base64 encoded internal string.

new

new(class_delim=".") Class Public methods Creates a new XMLRPC::BasicServer instance, which should not be done, because XMLRPC::BasicServer is an abstract class. This method should be called from a subclass indirectly by a super call in the initialize method. The paramter class_delim is used by #add_handler, see #add_handler, when an object is added as a handler, to delimit the object-prefix and the method-name.

add_handler

add_handler(prefix, obj_or_signature=nil, help=nil, &block) Instance Public methods Adds aBlock to the list of handlers, with name as the name of the method. Parameters signature and help are used by the Introspection method if specified, where signature is either an Array containing strings each representing a type of it's signature (the first is the return value) or an Array of Arrays if the method has multiple signatures. Value type-names are âint, boolean, double, string, T

add_introspection

add_introspection() Instance Public methods Adds the introspection handlers "system.listMethods", "system.methodSignature" and "system.methodHelp", where only the first one works.

add_multicall

add_multicall() Instance Public methods Adds the multi-call handler "system.multicall".