lib/grape/validations/validators/default.rb in grape-1.2.5 vs lib/grape/validations/validators/default.rb in grape-1.3.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Grape
module Validations
class DefaultValidator < Base
def initialize(attrs, options, required, scope, opts = {})
@default = options