number_to_delimited

number_to_delimited(number, options = {}) Instance Public methods Formats a number with grouped thousands using delimiter (e.g., 12,324). You can customize the format in the options hash. Options :locale - Sets the locale to be used for formatting (defaults to current locale). :delimiter - Sets the thousands delimiter (defaults to â,â). :separator - Sets the separator between the fractional and integer digits (defaults to â.â). Examples number_to_delimited(12345678)

inspect

inspect() Instance Public methods

cloneNode

cloneNode(arg0) Instance Public methods IXMLDOMNode cloneNode BOOL arg0 --- deep [IN]

force_default_encoding? 2

force_default_encoding?() Instance Public methods

yview_moveto

yview_moveto(*index) Instance Public methods

hi

hi() Instance Public methods

info

info(message)info(progname, &block) Instance Public methods Log an INFO message. message The message to log; does not need to be a String. progname In the block form, this is the progname to use in the log message. The default can be set with progname=. block Evaluates to the message to log. This is not evaluated unless the logger's level is sufficient to log the message. This allows you to create potentially expensive logging messages that are only called when the

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.

out

cgi.out(content_type_string='text/html')cgi.out(headers_hash) Instance Public methods Print an HTTP header and body to $DEFAULT_OUTPUT ($>) content_type_string If a string is passed, it is assumed to be the content type. headers_hash This is a Hash of headers, similar to that used by http_header. block A block is required and should evaluate to the body of the response. Content-Length is automatically calculated from the size of the String returned by the content b

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.