Sha256: d7906ecd4bdcf47342d464857e61927d4a34920637dd92da5408be86a9a47620
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 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. # module Realize class Format # Call #to_s.downcase on the value and return result. class Lowercase acts_as_hashable def transform(_resolver, value, _time, _record) value.to_s.downcase end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
realize-1.6.0 | lib/realize/format/lowercase.rb |
realize-1.5.0 | lib/realize/format/lowercase.rb |
realize-1.4.0 | lib/realize/format/lowercase.rb |