make_symlink

pathname.make_symlink(old) Instance Public methods Creates a symbolic link. See File.symlink.

each

each() Instance Public methods Iterate through the tuple, yielding the index or key, and the value, thus ensuring arrays are iterated similarly to hashes.

racc_read_token

racc_read_token(t, tok, val) Instance Public methods For debugging output

load_config_initializer

load_config_initializer(initializer) Instance Protected methods

column_names

column_names() Instance Public methods

pack_sockaddr_in

Socket.pack_sockaddr_in(port, host) => sockaddr Class Public methods Packs port and host as an AF_INET/AF_INET6 sockaddr string. Socket.sockaddr_in(80, "127.0.0.1") #=> "\x02\x00\x00P\x7F\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00" Socket.sockaddr_in(80, "::1") #=> "\n\x00\x00P\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00"

generate

generate() Instance Public methods Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information.

resource

resource(*resources, &block) Instance Public methods Sometimes, you have a resource that clients always look up without referencing an ID. A common example, /profile always shows the profile of the currently logged in user. In this case, you can use a singular resource to map /profile (rather than /profile/:id) to the show action: resource :profile creates six different routes in your application, all mapping to the Profiles controller (note that the controller is named after

stat

GC.stat â Hash Class Public methods Returns a Hash containing information about the GC. The hash includes information about internal statistics about GC such as: { :count=>0, :heap_used=>12, :heap_length=>12, :heap_increment=>0, :heap_live_num=>7539, :heap_free_num=>88, :heap_final_num=>0, :total_allocated_object=>7630, :total_freed_object=>88 } The contents of the hash are implementation specific and may be changed i

disable_query_cache!

disable_query_cache!() Instance Public methods