Make DSL specific method private in Task#DSL
This commit is contained in:
1 parent
3ef533b67a
commit
0148854843
1 file changed
+2
@@ -27,6 +27,8 @@ module Producer
|
|||||||
e.backtrace
|
e.backtrace
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def condition(&block)
|
def condition(&block)
|
||||||
fail ConditionNotMetError unless block.call
|
fail ConditionNotMetError unless block.call
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user