handle_singleton

handle_singleton(sclass_var, class_var) Instance Public methods Registers a singleton class sclass_var as a singleton of class_var

package_version

package_version() Class Public methods

media_subtype

media_subtype() Instance Public methods Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype.

ValidEncoding

ValidEncoding(enc) Instance Public methods

element_configure

element_configure(*args) Instance Public methods

grant_privilege

Process::GID.grant_privilege(group) â fixnumProcess::GID.eid = group â fixnum Class Public methods Set the effective group ID, and if possible, the saved group ID of the process to the given group. Returns the new effective group ID. Not available on all platforms. [Process.gid, Process.egid] #=> [0, 0] Process::GID.grant_privilege(31) #=> 33 [Process.gid, Process.egid] #=> [0, 33]

setup_subscriptions

setup_subscriptions() Instance Public methods

second

second() Instance Public methods Find the second record. If no order is defined it will order by primary key. Person.second # returns the second object fetched by SELECT * FROM people Person.offset(3).second # returns the second object from OFFSET 3 (which is OFFSET 4) Person.where(["user_name = :u", { u: user_name }]).second

inspect

ENV.inspect â string Class Public methods Returns the contents of the environment as a String.

to_ptr

to_ptr(val) => cptr Class Public methods Get the underlying pointer for ruby object val and return it as a Fiddle::Pointer object.