Skip to content

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

Open
@davebytemfg

Description

@davebytemfg

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?,   :<

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions