original_fullpath

original_fullpath() Instance Public methods

inside_template?

inside_template?() Instance Protected methods

for_tag

for_tag(tag) Class Public methods

acts_like_string?

acts_like_string?() Instance Public methods Enable more predictable duck-typing on String-like classes. See Object#acts_like?.

blank?

blank?() Instance Public methods A string is blank if it's empty or contains whitespaces only: ''.blank? # => true ' '.blank? # => true "\t\n\r".blank? # => true ' blah '.blank? # => false Unicode whitespace is supported: "\u00a0".blank? # => true @return [true, false]

render_file_with_instance_variables

render_file_with_instance_variables() Instance Public methods :ported:

deconstantize

deconstantize() Instance Public methods Removes the rightmost segment from the constant expression in the string. 'Net::HTTP'.deconstantize # => "Net" '::Net::HTTP'.deconstantize # => "::Net" 'String'.deconstantize # => "" '::String'.deconstantize # => "" ''.deconstantize # => "" See also demodulize.

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)

readme

readme() Instance Public methods

at_with_coercion

at_with_coercion(*args) Class Public methods Layers additional behavior on ::at so that ActiveSupport::TimeWithZone and DateTime instances can be used when called with a single argument at