From debe4540e4ff76be80467a2bf32bfd32dbfc72eb Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 20 May 2017 19:11:34 +0200 Subject: Remove redundant `self.run` methods. --- Library/Homebrew/cask/lib/hbc/cli/--version.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library/Homebrew/cask/lib/hbc/cli/--version.rb') diff --git a/Library/Homebrew/cask/lib/hbc/cli/--version.rb b/Library/Homebrew/cask/lib/hbc/cli/--version.rb index 23ecde0cc..7f9609c88 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/--version.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/--version.rb @@ -5,10 +5,6 @@ module Hbc "--#{super}" end - def self.run(*args) - new(*args).run - end - def run raise ArgumentError, "#{self.class.command_name} does not take arguments." unless @args.empty? puts Hbc.full_version -- cgit v1.2.3