diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2007-12-05 01:41:39 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2007-12-05 01:41:39 +0100 |
commit | 20eb0d3b1d0cae1bb26b9d7f91aad90c145438ff (patch) | |
tree | 83e497af4bc861dfef1e06398b32d7c9d5ca382d /lib/bacon.rb | |
parent | ffdddd338cb2957bd631ac1664e49e23725886f3 (diff) | |
download | bacon-20eb0d3b1d0cae1bb26b9d7f91aad90c145438ff.tar.gz bacon-20eb0d3b1d0cae1bb26b9d7f91aad90c145438ff.tar.xz bacon-20eb0d3b1d0cae1bb26b9d7f91aad90c145438ff.zip |
Make directives belong to Kernel and private
darcs-hash:20071205004139-4fc50-40c5e61ea0746d008596ea5a44c510763116acb2.gz
Diffstat (limited to 'lib/bacon.rb')
-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 bd677ac..0288987 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -183,6 +183,10 @@ class Object def should(*args, &block) Should.new(self).be(*args, &block) end +end + +module Kernel + private def describe(name, &block) Bacon::Context.new(name, &block) |