diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 41f5d555a7..6978b553bc 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -11,7 +11,6 @@ class Option def to_s flag end - alias_method :to_str, :to_s def <=>(other) return unless Option === other diff --git a/Library/Homebrew/test/test_options.rb b/Library/Homebrew/test/test_options.rb index 06d3c246e7..25049ded53 100644 --- a/Library/Homebrew/test/test_options.rb +++ b/Library/Homebrew/test/test_options.rb @@ -10,10 +10,6 @@ class OptionTests < Homebrew::TestCase assert_equal "--foo", @option.to_s end - def test_to_str - assert_equal "--foo", @option.to_str - end - def test_equality foo = Option.new("foo") bar = Option.new("bar")