Method: Extant::Coercers::String#coerce
- Defined in:
- lib/extant/coercers/string.rb
#coerce ⇒ Object
3 4 5 6 7 8 |
# File 'lib/extant/coercers/string.rb', line 3 def coerce return UncoercedValue if value == nil self.coerced = true value.to_s end |