diff options
| author | Jack Nagel | 2014-06-22 15:00:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-22 15:03:17 -0500 |
| commit | 90183877ff25f1ea8e5575079754dcfbb51188c2 (patch) | |
| tree | 86b46642a53c33c93d3f3a5394ca85c38911fd17 | |
| parent | 4b0255f7aa9ec4c8e7062ae051a6fbeb03cfb18e (diff) | |
| download | brew-90183877ff25f1ea8e5575079754dcfbb51188c2.tar.bz2 | |
Simplify extending Formula with Enumerable
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index f64468943..76f6681cd 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -14,6 +14,7 @@ require 'pkg_version' class Formula include FileUtils include Utils::Inreplace + extend Enumerable attr_reader :name, :path, :homepage, :build attr_reader :stable, :devel, :head, :active_spec @@ -358,9 +359,6 @@ class Formula end end end - class << self - include Enumerable - end # An array of all installed formulae def self.installed |
