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

pos=

pos=(idx) Instance Public methods

mkdir

mkdir() Instance Public methods Create the DIR, if they do not already exist. ruby -run -e mkdir -- [OPTION] DIR -p no error if existing, make parent directories as needed -v verbose

delete_at

delete_at(n) Instance Public methods

port_string

port_string() Instance Public methods Returns a string port suffix, including colon, like â:8080â if the port number of this request is not the default HTTP port 80 or HTTPS port 443.