Add Condition::DSL#{block,env} attribute readers
This commit is contained in:
1 parent
db6f22ac97
commit
f27ab6f074
2 files changed
+5
-12
No files matched your search
@@ -16,7 +16,7 @@ module Producer
|
||||
define_test :has_env, Tests::HasEnv
|
||||
define_test :has_file, Tests::HasFile
|
||||
|
||||
attr_reader :tests
|
||||
attr_reader :block, :env, :tests
|
||||
|
||||
def initialize(env, &block)
|
||||
@env = env
|
||||
|
||||
Reference in new issue
Block a user