From ff2d8fece3ff9645d4a26ca285604e597d15db7e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 16 Jun 2014 16:07:18 -0500 Subject: Remove unused method alias Unlike CompilerFailure, the interface of Compiler is entirely internal, so we don't need to maintain compatibility with anything. --- Library/Homebrew/compilers.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 27da77d9b..360395caf 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -1,13 +1,4 @@ class Compiler < Struct.new(:name, :version, :priority) - # This is exposed under the `build` name for compatibility, since - # `fails_with` continues to use `build` in the public API. - # `build` indicates the build number of an Apple compiler. - # This is preferred over version numbers since there are often - # significant differences within the same version, - # e.g. GCC 4.2 build 5553 vs 5666. - # Non-Apple compilers don't have build numbers. - alias_method :build, :version - # The major version for non-Apple compilers. Used to indicate a compiler # series; for instance, if the version is 4.8.2, it would return "4.8". def major_version -- cgit v1.2.3