push
travis-ci-com
1792 of 1792 new or added lines in 81 files covered. (100.0%)
1616 of 1792 relevant lines covered (90.18%)
85.49 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
|
require_relative 'value_mixin'
|
4✔ |
4 |
|
|
|
module LedgerSync |
4✔ |
|
module Type |
4✔ |
|
class Date < ActiveModel::Type::Date # :nodoc: |
4✔ |
|
include ValueMixin
|
4✔ |
9 |
|
|
|
def type |
4✔ |
|
:date
|
× |
12 |
end
|
|
13 |
|
|
|
def valid_classes |
4✔ |
|
[::Date, ::String] |
308✔ |
16 |
end
|
|
17 |
end
|
|
18 |
end
|
|
19 |
end
|