Skip to Content Skip to Search

class ActionView::Helpers::NumberHelper::InvalidNumberError

Raised when argument number param given to the helpers is invalid and the option :raise is set to true.

Inherits From

Attributes

[RW] number

Public class methods

Source code GitHub
# File actionview/lib/action_view/helpers/number_helper.rb, line 22
def initialize(number)
  @number = number
end

Definition files