From 41312d54d07f3697b9d98f3a28ce36e6f42c4654 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 1 Jul 2014 21:26:41 -0500 Subject: Use to_a definition from Enumerable --- Library/Homebrew/dependencies.rb | 3 --- Library/Homebrew/options.rb | 3 --- 2 files changed, 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 -- cgit v1.2.3