class Extant::Coercers::String

Public Instance Methods

coerce() click to toggle source
# File lib/extant/coercers/string.rb, line 3
def coerce
  return UncoercedValue if value == nil

  self.coerced = true
  value.to_s
end