aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/value.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/lib/active_model/type/value.rb')
-rw-r--r--activemodel/lib/active_model/type/value.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/activemodel/lib/active_model/type/value.rb b/activemodel/lib/active_model/type/value.rb
index 0d2d6873a8..7e9ae92245 100644
--- a/activemodel/lib/active_model/type/value.rb
+++ b/activemodel/lib/active_model/type/value.rb
@@ -105,12 +105,12 @@ module ActiveModel
private
- # Convenience method for types which do not need separate type casting
- # behavior for user and database inputs. Called by Value#cast for
- # values except +nil+.
- def cast_value(value) # :doc:
- value
- end
+ # Convenience method for types which do not need separate type casting
+ # behavior for user and database inputs. Called by Value#cast for
+ # values except +nil+.
+ def cast_value(value) # :doc:
+ value
+ end
end
end
end