Sha256: b662ba64f1cad7928abd243b515e373f9379cdf5db0854a43aa4b8db5225f280

Contents?: true

Size: 253 Bytes

Versions: 8

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

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

      def type
        :float
      end

      def valid_classes
        [::Float]
      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/float.rb
ledger_sync-1.3.4 lib/ledger_sync/type/float.rb
ledger_sync-1.3.3 lib/ledger_sync/type/float.rb
ledger_sync-1.3.2 lib/ledger_sync/type/float.rb
ledger_sync-1.3.1 lib/ledger_sync/type/float.rb
ledger_sync-1.1.3 lib/ledger_sync/type/float.rb
ledger_sync-1.1.2 lib/ledger_sync/type/float.rb
ledger_sync-1.1.1 lib/ledger_sync/type/float.rb