Improve Env constructor

This commit is contained in:
Thibault Jouan committed 2013-08-04 15:45:08 +00:00
1 parent a3bba6d4da
commit 8e455fc4d5
2 files changed
+15 -7

No files matched your search

+1 -1
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