find_above

find_above(target) Instance Public methods

open

open(ident, options, facility) => syslog Class Public methods Open the syslog facility. Raises a runtime exception if it is already open. Can be called with or without a code block. If called with a block, the Syslog object created is passed to the block. If the syslog is already open, raises a RuntimeError. ident is a String which identifies the calling program. options is the logical OR of any of the following: LOG_CONS If there is an error while sending to the system logge

string_to_hstore

string_to_hstore(string) Instance Public methods

last_error

ec.last_error â exception or nil Instance Public methods Returns an exception object for the last conversion. Returns nil if the last conversion did not produce an error. âerrorâ means that Encoding::InvalidByteSequenceError and Encoding::UndefinedConversionError for #convert and :invalid_byte_sequence, :incomplete_input and :undefined_conversion for #primitive_convert. ec = Encoding::Converter.new("utf-8", "iso-8859-1") p ec.primitive_convert(src="\xf1abcd", dst="") #=>

append 2

append(value) Instance Public methods

[]

[](symbol) Instance Public methods

generator_for

generator_for(store) Instance Public methods Instantiates a Darkfish generator for store

remove

remove(*wins) Instance Public methods

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.

id

id() Instance Public methods