From 40a0b8b10ab6ba1ef8e3b0acc2eeef7c8dd494b6 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 15 Oct 2019 17:39:15 +0200 Subject: [PATCH] Fix missing `command` method. --- Library/Homebrew/cask/cmd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/cmd.rb b/Library/Homebrew/cask/cmd.rb index 23ffa9e44f..0405b19725 100644 --- a/Library/Homebrew/cask/cmd.rb +++ b/Library/Homebrew/cask/cmd.rb @@ -214,7 +214,7 @@ module Cask @args = args end - def run(*_args) + def run(*) purpose usage @@ -226,7 +226,7 @@ module Cask raise ArgumentError, "help does not take arguments." if @args.length end - raise ArgumentError, "Unknown Cask command: #{command}" + raise ArgumentError, "Unknown Cask command: #{@command}" end def purpose