Simplify extending Formula with Enumerable
This commit is contained in:
parent
4b0255f7aa
commit
90183877ff
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user