Class: Numeric
- Includes:
- ActiveSupport::CoreExtensions::Numeric::Bytes, ActiveSupport::CoreExtensions::Numeric::Conversions, ActiveSupport::CoreExtensions::Numeric::Time
- Defined in:
- lib/active_support/core_ext/blank.rb,
lib/active_support/core_ext/numeric.rb,
lib/active_support/core_ext/duplicable.rb,
lib/active_support/json/encoders/numeric.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from ActiveSupport::CoreExtensions::Numeric::Conversions
Methods included from ActiveSupport::CoreExtensions::Numeric::Bytes
#bytes, #exabytes, #gigabytes, #kilobytes, #megabytes, #petabytes, #terabytes
Methods included from ActiveSupport::CoreExtensions::Numeric::Time
#ago, #days, #fortnights, #hours, #minutes, #seconds, #since, #weeks
Instance Method Details
#blank? ⇒ Boolean
55 56 57 |
# File 'lib/active_support/core_ext/blank.rb', line 55 def blank? false end |
#duplicable? ⇒ Boolean
34 35 36 |
# File 'lib/active_support/core_ext/duplicable.rb', line 34 def duplicable? false end |
#to_json(options = nil) ⇒ Object
:nodoc:
2 3 4 |
# File 'lib/active_support/json/encoders/numeric.rb', line 2 def to_json( = nil) #:nodoc: to_s end |