diff options
| author | Jack Nagel | 2014-06-16 16:07:18 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-16 16:39:07 -0500 | 
| commit | ff2d8fece3ff9645d4a26ca285604e597d15db7e (patch) | |
| tree | 59d16505a9b5dab59aee6dc8f19e616c4169002c /Library/Homebrew/compilers.rb | |
| parent | 344f77e1799dfd3c00b3e70a2d29517dd9c2754d (diff) | |
| download | brew-ff2d8fece3ff9645d4a26ca285604e597d15db7e.tar.bz2 | |
Remove unused method alias
Unlike CompilerFailure, the interface of Compiler is entirely internal,
so we don't need to maintain compatibility with anything.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 9 | 
1 files changed, 0 insertions, 9 deletions
| 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 | 
