Skip to content

Commit

Permalink
Merge pull request #27387 from MSP-Greg/master
Browse files Browse the repository at this point in the history
Change ActiveModel::Type::Helpers to :nodoc: [ci skip]
  • Loading branch information
rafaelfranca committed Dec 16, 2016
2 parents e55fac5 + e41c6ec commit 86ca5b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ActiveModel
module Type
module Helpers
class AcceptsMultiparameterTime < Module # :nodoc:
module Helpers # :nodoc: all
class AcceptsMultiparameterTime < Module
def initialize(defaults: {})
define_method(:cast) do |value|
if value.is_a?(Hash)
Expand Down
4 changes: 2 additions & 2 deletions activemodel/lib/active_model/type/helpers/mutable.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ActiveModel
module Type
module Helpers
module Mutable # :nodoc:
module Helpers # :nodoc: all
module Mutable
def cast(value)
deserialize(serialize(value))
end
Expand Down
4 changes: 2 additions & 2 deletions activemodel/lib/active_model/type/helpers/numeric.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ActiveModel
module Type
module Helpers
module Numeric # :nodoc:
module Helpers # :nodoc: all
module Numeric
def cast(value)
value = \
case value
Expand Down
4 changes: 2 additions & 2 deletions activemodel/lib/active_model/type/helpers/time_value.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

module ActiveModel
module Type
module Helpers
module TimeValue # :nodoc:
module Helpers # :nodoc: all
module TimeValue
def serialize(value)
value = apply_seconds_precision(value)

Expand Down

0 comments on commit 86ca5b2

Please sign in to comment.