lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.2 vs lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.3
- old
+ new
@@ -5,12 +5,10 @@
class Tasks < ::Rake::TaskLib
attr_accessor :heroku_deploy
def initialize
- yield self if block_given?
-
- self.heroku_deploy = Rake.application.heroku_deploy
+ Rake.application.heroku_deploy = self
define
end
def define
\ No newline at end of file