Improve Env constructor

This commit is contained in:
Thibault Jouan
2013-08-04 01:17:33 +00:00
parent a3bba6d4da
commit 8e455fc4d5
2 changed files with 15 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ module Producer
attr_reader :current_recipe
attr_accessor :target
def initialize(recipe)
def initialize(recipe = nil)
@current_recipe = recipe
@target = nil
end