aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 21:26:41 -0500
committerJack Nagel2014-07-01 21:26:41 -0500
commit3f6827374f5d48ad8e44802650f2c4e2aa7bd9a6 (patch)
treeab7bdafa0c7fa5d29f6c185d148624a32e941cf3 /Library
parent804872fc94738e5a33c6bab11f8721747142b2a8 (diff)
downloadbrew-3f6827374f5d48ad8e44802650f2c4e2aa7bd9a6.tar.bz2
Use to_a definition from Enumerable
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependencies.rb3
-rw-r--r--Library/Homebrew/options.rb3
2 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index addc17725..0e0637c81 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -22,9 +22,6 @@ class Dependencies
@deps * arg
end
- def to_a
- @deps
- end
alias_method :to_ary, :to_a
def optional
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index 23d1d31cb..107f663c0 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -109,9 +109,6 @@ class Options
self
end
- def to_a
- @options.to_a
- end
alias_method :to_ary, :to_a
def inspect