Skip to content

Commit a09efb0

Browse files
authored
Remove @opts
1 parent da1fe02 commit a09efb0

File tree

1 file changed

+0
-1
lines changed
  • lib/grape/validations/validators

1 file changed

+0
-1
lines changed

lib/grape/validations/validators/base.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def initialize(attrs, options, required, scope, *opts)
1818
@option = options
1919
@required = required
2020
@scope = scope
21-
@opts = opts
2221
opts = opts.any? ? opts.shift : {}
2322
@fail_fast = opts.fetch(:fail_fast, false)
2423
@allow_blank = opts.fetch(:allow_blank, false)

0 commit comments

Comments
 (0)