Fix Task::DSL attributes:

* Remove condition attribute accessor, implemented as a method;
* Make all other read-only.
This commit is contained in:
Thibault Jouan 2014-01-20 01:11:26 +00:00
parent b0b6b0f39a
commit dae7d5d79e

View File

@ -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