_define_attribute_aliases

_define_attribute_aliases(p1) Class Public methods

expired?

expired?() Instance Public methods Has this tuple expired? (true/false). A tuple has expired when its expiry timer based on the sec argument to initialize runs out.

assert_recognizes

assert_recognizes(expected_options, path, extras={}, msg=nil) Instance Public methods Asserts that the routing of the given path was handled correctly and that the parsed options (given in the expected_options hash) match path. Basically, it asserts that Rails recognizes the route given by expected_options. Pass a hash in the second argument (path) to specify the request method. This is useful for routes requiring a specific HTTP method. The hash should contain a :path with the inc

serializable_hash

serializable_hash(options = nil) Instance Public methods Returns a serialized hash of your object. class Person include ActiveModel::Serialization attr_accessor :name, :age def attributes {'name' => nil, 'age' => nil} end def capitalized_name name.capitalize end end person = Person.new person.name = 'bob' person.age = 22 person.serializable_hash # => {"name"=>"bob", "age"=>22} person.serializable_hash(only: :name) # => {"n

configinfo

configinfo(*args) Instance Public methods

new

new(host=nil, path=nil, port=nil, proxy_host=nil, proxy_port=nil, user=nil, password=nil, use_ssl=nil, timeout=nil) Class Public methods Creates an object which represents the remote XML-RPC server on the given host. If the server is CGI-based, path is the path to the CGI-script, which will be called, otherwise (in the case of a standalone server) path should be "/RPC2". port is the port on which the XML-RPC server listens. If proxy_host is given, then a proxy server listening at p

endgrent

endgrent() Class Public methods Ends the process of scanning through the /etc/group file begun by ::getgrent, and closes the file.

dump_call

dump_call( methodName, *params ) Class Public methods

load_images

load_images(imgdir, pat=nil) Class Public methods

new

new() Class Public methods Create a new Psych::Nodes::Node