Sha256: 05a7e5d5349453207ab0c59c4ea31cf073110242e3e1cdfdba47c41db32f4d21

Contents?: true

Size: 289 Bytes

Versions: 23

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

require_relative 'value_mixin'

module LedgerSync
  module Type
    class String < ActiveModel::Type::String # :nodoc:
      include ValueMixin

      def type
        :string
      end

      def valid_classes
        [::String]
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ledger_sync-1.4.2 lib/ledger_sync/type/string.rb
ledger_sync-1.4.1 lib/ledger_sync/type/string.rb
ledger_sync-1.4.0 lib/ledger_sync/type/string.rb