lib/gestalt.rb in gestalt-0.0.10 vs lib/gestalt.rb in gestalt-0.0.11
- old
+ new
@@ -3,11 +3,11 @@
require 'rubygems'
require 'formatador'
class Gestalt
- VERSION = '0.0.10'
+ VERSION = '0.0.11'
attr_accessor :bindings, :calls
def initialize(options = {})
options = {
@@ -96,10 +96,10 @@
end
end
)
begin
value = yield
- rescue StandardError, Interrupt
+ rescue StandardError, Interrupt => value
# noop
end
Kernel.set_trace_func(nil)
@bindings.pop # pop Kernel#set_trace_func(nil)
@bindings.pop # pop Gestalt.run