verified_request?

verified_request?() Instance Protected methods Returns true or false if a request is verified. Checks: is it a GET or HEAD request? Gets should be safe and idempotent Does the #form_authenticity_token match the given token value from the params? Does the X-CSRF-Token header match the #form_authenticity_token

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

prepend

prepend(*args) Instance Public methods Inserts switch at the head of the list, and associates short, long and negated long options. Arguments are: switch OptionParser::Switch instance to be inserted. short_opts List of short style options. long_opts List of long style options. nolong_opts List of long style options with âno-â prefix. prepend(switch, short_opts, long_opts, nolong_opts)

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.