diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2017-02-23 19:05:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 19:05:32 +0000 |
commit | c62f0f147830efe1ae6258be308d3c592d2f2350 (patch) | |
tree | 392229aa870a1f6e051f703fd7de481baca3cfe0 /activesupport/lib | |
parent | 8f59a1dd878f56798f88369fa5b448f17a29679d (diff) | |
parent | 135c5d5928b57ebc94482bae6f79fe1b61fc633f (diff) | |
download | rails-c62f0f147830efe1ae6258be308d3c592d2f2350.tar.gz rails-c62f0f147830efe1ae6258be308d3c592d2f2350.tar.bz2 rails-c62f0f147830efe1ae6258be308d3c592d2f2350.zip |
Merge pull request #28131 from rails/chancancode-patch-1
🙈 :nodoc: `AS::Duration::ISO8601Serializer`
Diffstat (limited to 'activesupport/lib')
-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 |