aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/options.rb1
-rw-r--r--Library/Homebrew/test/test_options.rb4
2 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index 41f5d555a..6978b553b 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 06d3c246e..25049ded5 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")