Skip to content

Commit

Permalink
style: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 23, 2024
1 parent 95d3c7f commit b19f5b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/test_prof/factory_doctor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,9 @@ def result
# Do not analyze code within the block
def ignore
@ignored = true
res = yield
yield
ensure
@ignored = false
res
end

def ignore!
Expand Down

0 comments on commit b19f5b9

Please sign in to comment.