Sha256: f0315143304655bc119836d4edbb5bc3d0964869931bd0be6e42404fbcc50b16

Contents?: true

Size: 249 Bytes

Versions: 7

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

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

      def type
        :date
      end

      def valid_classes
        [::Date]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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