Class: Float

Inherits:
Object show all
Includes:
ActiveSupport::CoreExtensions::Float::Rounding, ActiveSupport::CoreExtensions::Float::Time
Defined in:
lib/active_support/core_ext/float.rb,
lib/active_support/json/encoders/numeric.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ActiveSupport::CoreExtensions::Float::Time

#months, #months_without_deprecation, #years, #years_without_deprecation

Methods included from ActiveSupport::CoreExtensions::Float::Rounding

included, #round_with_precision

Instance Method Details

#to_json(options = nil) ⇒ Object

:nodoc:



12
13
14
# File 'lib/active_support/json/encoders/numeric.rb', line 12

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