Class: Integer

Inherits:
Object show all
Includes:
ActiveSupport::CoreExtensions::Integer::EvenOdd, ActiveSupport::CoreExtensions::Integer::Inflections, ActiveSupport::CoreExtensions::Integer::Time
Defined in:
lib/active_support/core_ext/integer.rb,
lib/active_support/json/encoders/numeric.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ActiveSupport::CoreExtensions::Integer::Time

#months, #years

Methods included from ActiveSupport::CoreExtensions::Integer::Inflections

#ordinalize

Methods included from ActiveSupport::CoreExtensions::Integer::EvenOdd

#even?, #multiple_of?, #odd?

Instance Method Details

#to_json(options = nil) ⇒ Object

:nodoc:



18
19
20
# File 'lib/active_support/json/encoders/numeric.rb', line 18

def to_json(options = nil) #:nodoc:
  to_s
end