Sha256: 9c03b23749f766cc8aa9e83a95fa9a568c8aac249851e93c0227b31bf72b6a97
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2020-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # require_relative 'base' module Realize class Type # Call #to_s on the value and return result. class String < Base def transform(_resolver, value, _time, _record) return nil if nullable && value.nil? value.to_s end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
realize-1.6.0 | lib/realize/type/string.rb |
realize-1.5.0 | lib/realize/type/string.rb |
realize-1.4.0 | lib/realize/type/string.rb |