123456789_123456789_123456789_123456789_123456789_

Exception: ActionView::Helpers::NumberHelper::InvalidNumberError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, StandardError
Instance Chain:
self, StandardError
Inherits: StandardError
  • ::Object
Defined in: actionview/lib/action_view/helpers/number_helper.rb

Overview

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

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(number) ⇒ InvalidNumberError

[ GitHub ]

  
# File 'actionview/lib/action_view/helpers/number_helper.rb', line 23

def initialize(number)
  @number = number
end

Instance Attribute Details

#number (rw)

[ GitHub ]

  
# File 'actionview/lib/action_view/helpers/number_helper.rb', line 22

attr_accessor :number