aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 21:26:41 -0500
committerJack Nagel2014-07-01 21:26:41 -0500
commit41312d54d07f3697b9d98f3a28ce36e6f42c4654 (patch)
tree92ac1db77823fe5b0245c0d0aa257f7cd4c13eba
parent3d9dcc9ef4ea1b58f465fa0c549b92c156dbc563 (diff)
downloadhomebrew-41312d54d07f3697b9d98f3a28ce36e6f42c4654.tar.bz2
Use to_a definition from Enumerable
-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