Class: ParamsReady::Value::DowncaseStringCoder
- Inherits:
-
StringCoder
- Object
- AbstractCoder
- Coder
- StringCoder
- ParamsReady::Value::DowncaseStringCoder
- Defined in:
- lib/params_ready/value/custom.rb
Class Method Summary collapse
Methods inherited from StringCoder
Methods inherited from Coder
Methods included from Coercion
Methods inherited from AbstractCoder
Methods included from Extensions::ClassReaderWriter
Class Method Details
.coerce(value, context) ⇒ Object
6 7 8 9 |
# File 'lib/params_ready/value/custom.rb', line 6 def self.coerce(value, context) string = super string.downcase end |