Select Git revision
Forked from
GitLab.org / GitLab FOSS
37033 commits behind the upstream repository.
gt_one_coercion.rb 94 B
class GtOneCoercion < Virtus::Attribute
def coerce(value)
[1, value.to_i].max
end
end