1 |
# frozen_string_literal: true
|
|
2 |
|
|
|
require_relative 'value_mixin'
|
4✔ |
4 |
|
|
|
module LedgerSync |
4✔ |
|
module Type |
4✔ |
|
class String < ActiveModel::Type::String # :nodoc: |
4✔ |
|
include ValueMixin
|
4✔ |
9 |
|
|
|
def type |
4✔ |
|
:string
|
× |
12 |
end
|
|
13 |
|
|
|
def valid_classes |
4✔ |
|
[::String]
|
2,092✔ |
16 |
end
|
|
17 |
end
|
|
18 |
end
|
|
19 |
end
|