Class: ActiveAttr::Typecasting::ObjectTypecaster
- Inherits:
-
Object
- Object
- ActiveAttr::Typecasting::ObjectTypecaster
- Defined in:
- lib/active_attr/typecasting/object_typecaster.rb
Overview
A “null” typecaster to provide uniformity
Instance Method Summary collapse
-
#call(value) ⇒ Object
Returns the original value unmodified.
Instance Method Details
#call(value) ⇒ Object
Returns the original value unmodified
20 21 22 |
# File 'lib/active_attr/typecasting/object_typecaster.rb', line 20 def call(value) value end |