Skip to content

Commit

Permalink
Merge pull request leonid-shevtsov#41 from evandrodp/patch-1
Browse files Browse the repository at this point in the history
Update headless.rb
  • Loading branch information
leonid-shevtsov committed Jun 3, 2014
2 parents ae52005 + 9c1f38a commit a0ec993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/headless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def self.run(options={}, &block)
headless.start
yield headless
ensure
headless.destroy
headless && headless.destroy
end
class <<self; alias_method :ly, :run; end

Expand Down

0 comments on commit a0ec993

Please sign in to comment.