Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numeric.rb duplicate alias_method :gt and :lt #68

Open
davebytemfg opened this issue Apr 22, 2021 · 0 comments
Open

numeric.rb duplicate alias_method :gt and :lt #68

davebytemfg opened this issue Apr 22, 2021 · 0 comments

Comments

@davebytemfg
Copy link

davebytemfg commented Apr 22, 2021

It looks like there's a copy/paste error in numeric.rb

probably remove the second ones later in the file

diff --git a/dragon/numeric.rb b/dragon/numeric.rb
index 93bacae..3d2a7f6 100644
--- a/dragon/numeric.rb
+++ b/dragon/numeric.rb
@@ -124,11 +124,9 @@ S
     10
   end
 
-  alias_method :gt,        :>
   alias_method :above?,    :>
   alias_method :right_of?, :>
 
-  alias_method :lt,       :<
   alias_method :below?,   :<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant