diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-10 18:45:24 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-10 18:45:24 +0100 |
commit | d9f431c62b681ec5a3641142b83c2cbb6ba2daed (patch) | |
tree | 105ed4090bad62d2bc323b00ce0bcb10e873c1e6 /lib | |
parent | 1378e5819affacecbc1291d1e676fd8d5efeafc2 (diff) | |
download | bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.tar.gz bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.tar.xz bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.zip |
Reformats
darcs-hash:20080210174524-4fc50-5753e3f7ff4fcb391864d2b427cab1db4169a61c.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bacon.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb index 3277503..af754d4 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -192,7 +192,7 @@ end class Proc def raise?(*exceptions) - exceptions << RuntimeError if exceptions.empty? + exceptions = [RuntimeError] if exceptions.empty? call # Only to work in 1.9.0, rescue with splat doesn't work there right now |