Permalink
Browse files

Simplify variable name

  • Loading branch information...
1 parent 7922686 commit c5600abac6bf54ae923fedd39d373bfea8cc4287 Nikolai Weibull committed Jul 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/lookout/expect/object/context.rb
View
4 lib/lookout/expect/object/context.rb
@@ -63,12 +63,12 @@ def stub(object = {}, methods = nil)
# @yield
# @return [::Object] The result of the block
def with_verbose(verbose = true)
- saved_verbose = $VERBOSE
+ saved = $VERBOSE
$VERBOSE = verbose
begin
yield
ensure
- $VERBOSE = saved_verbose
+ $VERBOSE = saved
end
end

0 comments on commit c5600ab

Please sign in to comment.