diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cask.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cask.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cask.rb b/Library/Homebrew/cask/lib/hbc/cask.rb index 72a23066f..df885371a 100644 --- a/Library/Homebrew/cask/lib/hbc/cask.rb +++ b/Library/Homebrew/cask/lib/hbc/cask.rb @@ -24,7 +24,7 @@ module Hbc end DSL::DSL_METHODS.each do |method_name| - define_method(method_name) { @dsl.send(method_name) } + define_method(method_name) { |&block| @dsl.send(method_name, &block) } end def timestamped_versions |
