Make DSL specific method private in Task#DSL
This commit is contained in:
@@ -27,6 +27,8 @@ module Producer
|
||||
e.backtrace
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def condition(&block)
|
||||
fail ConditionNotMetError unless block.call
|
||||
end
|
||||
|
Reference in New Issue
Block a user