diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2017-02-23 10:55:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 10:55:06 -0800 |
commit | 135c5d5928b57ebc94482bae6f79fe1b61fc633f (patch) | |
tree | 392229aa870a1f6e051f703fd7de481baca3cfe0 /activesupport/lib/active_support/duration | |
parent | 8f59a1dd878f56798f88369fa5b448f17a29679d (diff) | |
download | rails-135c5d5928b57ebc94482bae6f79fe1b61fc633f.tar.gz rails-135c5d5928b57ebc94482bae6f79fe1b61fc633f.tar.bz2 rails-135c5d5928b57ebc94482bae6f79fe1b61fc633f.zip |
🙈 :nodoc: `AS::Duration::ISO8601Serializer`
This class should not be used directly, the public API is `AS::Duration#iso8601`.
Diffstat (limited to 'activesupport/lib/active_support/duration')
-rw-r--r-- | activesupport/lib/active_support/duration/iso8601_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/duration/iso8601_serializer.rb b/activesupport/lib/active_support/duration/iso8601_serializer.rb index 51d53e2f8d..e5d458b3ab 100644 --- a/activesupport/lib/active_support/duration/iso8601_serializer.rb +++ b/activesupport/lib/active_support/duration/iso8601_serializer.rb @@ -4,7 +4,7 @@ require "active_support/core_ext/hash/transform_values" module ActiveSupport class Duration # Serializes duration to string according to ISO 8601 Duration format. - class ISO8601Serializer + class ISO8601Serializer # :nodoc: def initialize(duration, precision: nil) @duration = duration @precision = precision |