aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/version.rb')
-rw-r--r--Library/Homebrew/version.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb
index c0e5324ea..60eb6b571 100644
--- a/Library/Homebrew/version.rb
+++ b/Library/Homebrew/version.rb
@@ -242,7 +242,7 @@ class Version
0
end
- alias_method :eql?, :==
+ alias eql? ==
def hash
version.hash
@@ -251,7 +251,7 @@ class Version
def to_s
version.dup
end
- alias_method :to_str, :to_s
+ alias to_str to_s
protected