Make DSL specific method private in Task#DSL

This commit is contained in:
Thibault Jouan 2013-08-07 01:14:44 +00:00
parent 3ef533b67a
commit 0148854843

View File

@ -27,6 +27,8 @@ module Producer
e.backtrace
end
private
def condition(&block)
fail ConditionNotMetError unless block.call
end