_normalize_args

_normalize_args(action=nil, options={}) Instance Public methods Normalize args by converting render âfooâ to render :action => âfooâ and render âfoo/barâ to render :file => âfoo/barâ. :api: plugin

add

add(view, locals) Instance Public methods

new

new() Class Public methods

zone

zone() Class Public methods Returns the TimeZone for the current request, if this has been set (via ::zone=). If Time.zone has not been set for the current request, returns the TimeZone specified in config.time_zone.

share_stderr

share_stderr(dist, src = '') Class Public methods

embDefBg

embDefBg(w) Instance Public methods

warn

warn(message) Instance Public methods Displays a warning using Kernel#warn if we're being verbose

new

new(args) Class Public methods Create the config file object. args is the list of arguments from the command line. The following command line options are handled early here rather than later at the time most command options are processed. --config-file, --config-file==NAME Obviously these need to be handled by the ConfigFile object to ensure we get the right config file. --backtrace Backtrace needs to be turned on early so that errors before normal option parsing can be pro

display?

display?() Instance Public methods Should this CodeObject be shown in documentation?

Complex

Complex(x[, y]) â numeric Instance Public methods Returns x+i*y; Complex(1, 2) #=> (1+2i) Complex('1+2i') #=> (1+2i) Complex(nil) #=> TypeError Complex(1, nil) #=> TypeError Syntax of string form: string form = extra spaces , complex , extra spaces ; complex = real part | [ sign ] , imaginary part | real part , sign , imaginary part | rational , "@" , rational ; real part = rational ; imaginary part = imaginary unit | unsigned rational , ima