Sha256: 17ab34f36a13c81501bc2ffe10d971e9637509088590c48e694e809a58ff544b
Contents?: true
Size: 1.3 KB
Versions: 4
Compression:
Stored size: 1.3 KB
Contents
# frozen_string_literal: true require 'honey_format/converters/header_column_converter' require 'honey_format/converters/convert_boolean' require 'honey_format/converters/convert_date_and_time' require 'honey_format/converters/convert_number' require 'honey_format/converters/convert_string' module HoneyFormat # Convert to nil ConvertNil = proc {} module Converters DEFAULT = { # strict variants decimal!: StrictConvertDecimal, integer!: StrictConvertInteger, date!: StrictConvertDate, datetime!: StrictConvertDatetime, symbol!: StrictConvertSymbol, downcase!: StrictConvertDowncase, upcase!: StrictConvertUpcase, strip!: StrictConvertStrip, boolean!: StrictConvertBoolean, # safe variants decimal: ConvertDecimal, decimal_or_zero: ConvertDecimalOrZero, integer: ConvertInteger, integer_or_zero: ConvertIntegerOrZero, date: ConvertDate, datetime: ConvertDatetime, symbol: ConvertSymbol, downcase: ConvertDowncase, upcase: ConvertUpcase, strip: ConvertStrip, boolean: ConvertBoolean, md5: ConvertMD5, hex: ConvertHex, nil: ConvertNil, blank: ConvertBlank, header_column: ConvertHeaderColumn, method_name: ConvertHeaderColumn, }.freeze end end
Version data entries
4 entries across 4 versions & 1 rubygems