Implement Task::DSL#evaluate:
So that the env is available from the task DSL.
This commit is contained in:
@@ -8,8 +8,8 @@ module Producer
|
||||
@block = block
|
||||
end
|
||||
|
||||
def evaluate
|
||||
DSL.new &@block
|
||||
def evaluate(env)
|
||||
DSL.new(&@block).evaluate(env)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user