diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2007-12-05 01:58:08 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2007-12-05 01:58:08 +0100 |
commit | b0602a7143ca94a6639724fcebb3e4e4ecc29fdb (patch) | |
tree | 2637fdffd86790989107164a40b15070361c49b8 /lib | |
parent | f41bc742a0bc006cfdf02c014f90ba2b613ee292 (diff) | |
download | bacon-b0602a7143ca94a6639724fcebb3e4e4ecc29fdb.tar.gz bacon-b0602a7143ca94a6639724fcebb3e4e4ecc29fdb.tar.xz bacon-b0602a7143ca94a6639724fcebb3e4e4ecc29fdb.zip |
Test Context#should.{throw,raise}
darcs-hash:20071205005808-4fc50-042ef423f840f7cc0f37003112e8f95794446de0.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bacon.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb index 74d2a94..ada7c8f 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -155,6 +155,10 @@ module Bacon def raise?(*args, &block) block.raise?(*args) end + + def throw?(*args, &block) + block.throw?(*args) + end end end |