class Attrocity::Coercers::String

Public Instance Methods

coerce(value) click to toggle source
# File lib/attrocity/coercers/string.rb, line 4
def coerce(value)
  if value.nil?
    nil
  else
    String(value)
  end
end