Fix Task::DSL attributes:
* Remove condition attribute accessor, implemented as a method; * Make all other read-only.
This commit is contained in:
parent
b0b6b0f39a
commit
dae7d5d79e
@ -15,7 +15,7 @@ module Producer
|
||||
|
||||
define_action :file_write, Actions::FileWriter
|
||||
|
||||
attr_accessor :env, :block, :actions, :condition
|
||||
attr_reader :env, :block, :actions
|
||||
|
||||
def initialize(env, &block)
|
||||
@env = env
|
||||
|
Loading…
x
Reference in New Issue
Block a user