Method: ActiveSupport::JSON::Encoding.time_precision
- Defined in:
- lib/active_support/json/encoding.rb
.time_precision ⇒ Object
Sets the precision of encoded time values. Defaults to 3 (equivalent to millisecond precision)
116 117 118 |
# File 'lib/active_support/json/encoding.rb', line 116 def time_precision @time_precision end |