bg_eval_str

bg_eval_str(cmd, *eval_args) Class Public methods Alias for: bg_eval_string

default_i18n_subject

default_i18n_subject(interpolations = {}) Instance Protected methods Translates the subject using Rails I18n class under [mailer_scope, action_name] scope. If it does not find a translation for the subject under the specified scope it will default to a humanized version of the action_name. If the subject has interpolations, you can pass them through the interpolations parameter.

to_feed

to_feed(feed, current) Instance Public methods

open

open(path, mode, permissions) â Enumeratoropen(path, mode, permissions) { block } Instance Public methods See IO.open when path is a file. See Dir.open when path is a directory.

stale_session_check!

stale_session_check!() Instance Public methods

snap

snap(win) Instance Public methods

local

local() Class Public methods

cat

cat(*filename) â Cat Instance Public methods Returns a Cat object, for the given filenames

bmbm

bmbm(width = 0) Class Public methods Sometimes benchmark results are skewed because code executed earlier encounters different garbage collection overheads than that run later. bmbm attempts to minimize this effect by running the tests twice, the first time as a rehearsal in order to get the runtime environment stable, the second time for real. GC.start is executed before the start of each of the real timings; the cost of this is not included in the timings. In reality, though, the

nodeTypedValue

nodeTypedValue() Instance Public methods VARIANT nodeTypedValue get the strongly typed value of the node