diff options
| author | Jack Nagel | 2014-06-16 16:07:18 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-16 16:39:07 -0500 | 
| commit | 28341d8dc7bddc6091d169a59271f428f5202858 (patch) | |
| tree | c60759308dcdcf68b62cb0a1c73e0a39f0b90aea /Library | |
| parent | 9a1c67277cdf3d0aa3c5121b656816eef5979d2e (diff) | |
| download | homebrew-28341d8dc7bddc6091d169a59271f428f5202858.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')
| -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  | 
