Skip to content

Commit

Permalink
Change method name to avoid conflict in ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
zaius committed Aug 9, 2010
1 parent be8ac0c commit 29eccb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spawn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def self.kill_punks
# By default the process will be a forked process. To use threading, pass
# :method => :thread or override the default behavior in the environment by setting
# 'Spawn::method :thread'.
def spawn(opts = {})
def spawn_block(opts = {})
options = @@default_options.merge(opts.symbolize_keys)
# setting options[:method] will override configured value in default_options[:method]
if options[:method] == :yield
Expand Down

0 comments on commit 29eccb8

Please sign in to comment.