Change Condition::DSL#tests as read-only attribute
This commit is contained in:
parent
2e151fe321
commit
db6f22ac97
@ -16,7 +16,7 @@ module Producer
|
|||||||
define_test :has_env, Tests::HasEnv
|
define_test :has_env, Tests::HasEnv
|
||||||
define_test :has_file, Tests::HasFile
|
define_test :has_file, Tests::HasFile
|
||||||
|
|
||||||
attr_accessor :tests
|
attr_reader :tests
|
||||||
|
|
||||||
def initialize(env, &block)
|
def initialize(env, &block)
|
||||||
@env = env
|
@env = env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user