summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorMichael Fellinger <m.fellinger@gmail.com>2008-01-19 23:07:25 +0100
committerMichael Fellinger <m.fellinger@gmail.com>2008-01-19 23:07:25 +0100
commitfe569b343f2522f2d0ba965c4c54b8aac695f02e (patch)
tree3e0c7ef7a90393c1c1fe3fd2151c4175f0d67a78 /lib
parenta55c49b6f720e1d68ae8e21b6acb6c711d34bc35 (diff)
downloadbacon-fe569b343f2522f2d0ba965c4c54b8aac695f02e.tar.gz
bacon-fe569b343f2522f2d0ba965c4c54b8aac695f02e.tar.xz
bacon-fe569b343f2522f2d0ba965c4c54b8aac695f02e.zip
#to_s the argument to describe
darcs-hash:20080119220725-cbc08-df49e4682daa7ea66ae91166e1d4e9028f475562.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/bacon.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index 93b6880..fd0f9ba 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -232,8 +232,8 @@ end
 module Kernel
   private
 
-  def describe(name, &block)  Bacon::Context.new(name, &block) end
-  def shared(name, &block)    Bacon::Shared[name] = block      end
+  def describe(name, &block)  Bacon::Context.new(name.to_s, &block) end
+  def shared(name, &block)    Bacon::Shared[name] = block           end
 end