h

h(s) Class Public methods Alias for: html_escape

finish

finish(name, id, payload) Instance Public methods

namespace

namespace(path, options = {}) Instance Public methods See ActionDispatch::Routing::Mapper::Scoping#namespace

rubinius_skip

rubinius_skip(message = '') Instance Public methods Skips the current run on Rubinius using Minitest::Assertions#skip

require_debugger

require_debugger() Instance Public methods

to_formatted_s

to_formatted_s(format = :default, options = {}) Instance Public methods Provides options for converting numbers into formatted strings. Options are provided for phone numbers, currency, percentage, precision, positional notation, file size and pretty printing. Options For details on which formats use which options, see ActiveSupport::NumberHelper Examples Phone Numbers: 5551234.to_s(:phone) # => 555-1234 1235551234.to_s(:phone)

number_to_currency

number_to_currency(number, options = {}) Instance Public methods Formats a number into a currency string (e.g., $13.65). You can customize the format in the options hash. Options :locale - Sets the locale to be used for formatting (defaults to current locale). :precision - Sets the level of precision (defaults to 2). :unit - Sets the denomination of the currency (defaults to â$â). :separator - Sets the separator between the units (defaults to â.â). :delimiter - Sets the th

camelcase

camelcase(first_letter = :upper) Instance Public methods Alias for: camelize

partial_with_nested_object_shorthand

partial_with_nested_object_shorthand() Instance Public methods

transform_keys!

transform_keys!() Instance Public methods Destructively convert all keys using the block operations. Same as #transform_keys but modifies self.