diff options
Diffstat (limited to 'lib/gt_one_coercion.rb')
-rw-r--r-- | lib/gt_one_coercion.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gt_one_coercion.rb b/lib/gt_one_coercion.rb deleted file mode 100644 index 99be51bc8c6..00000000000 --- a/lib/gt_one_coercion.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -class GtOneCoercion < Virtus::Attribute - def coerce(value) - [1, value.to_i].max - end -end |