Remove Env#current_recipe attribute

This commit is contained in:
Thibault Jouan
2013-08-13 01:36:33 +00:00
parent a5d9ca26f4
commit 53db841b2d
6 changed files with 11 additions and 29 deletions

View File

@@ -1,14 +1,12 @@
module Producer
module Core
class Env
attr_reader :current_recipe
attr_writer :output
attr_accessor :target
def initialize(recipe = nil)
@current_recipe = recipe
@output = $stdout
@target = nil
def initialize
@output = $stdout
@target = nil
end
def output(str)