Sha256: 7053e7998436acbc1caacb3a5dca4abebf77ab19c6fd6ba7cba813aab8023d87

Contents?: true

Size: 257 Bytes

Versions: 8

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/type/string.rb
ledger_sync-1.3.4 lib/ledger_sync/type/string.rb
ledger_sync-1.3.3 lib/ledger_sync/type/string.rb
ledger_sync-1.3.2 lib/ledger_sync/type/string.rb
ledger_sync-1.3.1 lib/ledger_sync/type/string.rb
ledger_sync-1.1.3 lib/ledger_sync/type/string.rb
ledger_sync-1.1.2 lib/ledger_sync/type/string.rb
ledger_sync-1.1.1 lib/ledger_sync/type/string.rb