Sha256: 1955395b589a2e0118d49432e33b614ce6ad0fbc9436217dac2c0d91aa884ddb

Contents?: true

Size: 285 Bytes

Versions: 22

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

require_relative 'value_mixin'

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

22 entries across 22 versions & 1 rubygems

Version Path
ledger_sync-1.4.1 lib/ledger_sync/type/float.rb
ledger_sync-1.4.0 lib/ledger_sync/type/float.rb