aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hbc/cask_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/hbc/cask_loader.rb')
-rw-r--r--Library/Homebrew/compat/hbc/cask_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/hbc/cask_loader.rb b/Library/Homebrew/compat/hbc/cask_loader.rb
index e7f3a4aac..a7c84e3ce 100644
--- a/Library/Homebrew/compat/hbc/cask_loader.rb
+++ b/Library/Homebrew/compat/hbc/cask_loader.rb
@@ -1,7 +1,7 @@
module CaskLoaderCompatibilityLayer
private
- def build_cask(header_token, &block)
+ def cask(header_token, &block)
if header_token.is_a?(Hash) && header_token.key?(:v1)
odeprecated %q("cask :v1 => 'token'"), %q("cask 'token'")
header_token = header_token[:v1]