supports_explain?

supports_explain?() Instance Public methods

request_uri

request_uri() Instance Public methods Description Returns the full path for an HTTP request, as required by Net::HTTP::Get. If the URI contains a query, the full path is URI#path + '?' + URI#query. Otherwise, the path is simply URI#path.

touch

touch(name = nil) Instance Public methods Saves the record with the updated_at/on attributes set to the current time. Please note that no validation is performed and only the after_touch, after_commit and after_rollback callbacks are executed. If an attribute name is passed, that attribute is updated along with updated_at/on attributes. product.touch # updates updated_at/on product.touch(:designed_at) # updates the designed_at attribute and updated_at/on If used alon

latin_metrics_displayof

latin_metrics_displayof(win, option=nil) Instance Public methods

flush

flush() Instance Public methods

to_json

to_json(state = nil) Instance Public methods Returns a JSON string containing a JSON array, that is generated from this Array instance. state is a JSON::State object, that can also be used to configure the produced JSON string output further.

names

mtch.names â [name1, name2, ...] Instance Public methods Returns a list of names of captures as an array of strings. It is same as mtch.regexp.names. /(?<foo>.)(?<bar>.)(?<baz>.)/.match("hoge").names #=> ["foo", "bar", "baz"] m = /(?<x>.)(?<y>.)?/.match("a") #=> #<MatchData "a" x:"a" y:nil> m.names #=> ["x", "y"]

have_header

have_header(header, preheaders = nil, opt = "", &b) Instance Public methods Returns whether or not the given header file can be found on your system. If found, a macro is passed as a preprocessor constant to the compiler using the header file name, in uppercase, prepended with HAVE_. For example, if have_header('foo.h') returned true, then the HAVE_FOO_H preprocessor macro would be passed to the compiler.

listen

listen(address, port) Instance Public methods Adds listeners from address and port to the server. See WEBrick::Utils.create_listeners for details.

package_version

package_version() Class Public methods