From c3ac88d8c7149f43ce2a20ee581cab4036768394 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 9 Dec 2013 17:34:04 -0600 Subject: versions: delete unused method --- Library/Homebrew/cmd/versions.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index 47baa715a..7e556ec55 100644 --- a/Library/Homebrew/cmd/versions.rb +++ b/Library/Homebrew/cmd/versions.rb @@ -94,10 +94,6 @@ class Formula end end - def sha_for_version version - rev_list.find{ |sha| version == version_for_sha(sha) } - end - IGNORED_EXCEPTIONS = [SyntaxError, TypeError, NameError, ArgumentError, FormulaSpecificationError] -- cgit v1.2.3