class Realize::Type::String

Call to_s on the value and return result.

Public Instance Methods

transform(_resolver, value, _time, _record) click to toggle source
# File lib/realize/type/string.rb, line 16
def transform(_resolver, value, _time, _record)
  return nil if nullable && value.nil?

  value.to_s
end