Ð
Иван Сташко
Where is the * operator defined for Float?
ree-1.8.7-2010.02 > 3.0.methods.grep "*"
=> ["*"]
ree-1.8.7-2010.02 > 3.0.class
=> Float
ree-1.8.7-2010.02 > Float.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Float.superclass
=> Numeric
ree-1.8.7-2010.02 > Numeric.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Numeric.superclass
=> Object
ree-1.8.7-2010.02 > Object.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Object.superclass
=> nil
I'm guessing there's a mixin somewhere or this has to do with
eigenclasses or perhaps a C-module has been mixed-in between Numeric and
Float. Where do I look at this code?
ree-1.8.7-2010.02 > 3.0.methods.grep "*"
=> ["*"]
ree-1.8.7-2010.02 > 3.0.class
=> Float
ree-1.8.7-2010.02 > Float.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Float.superclass
=> Numeric
ree-1.8.7-2010.02 > Numeric.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Numeric.superclass
=> Object
ree-1.8.7-2010.02 > Object.methods.grep "*"
=> []
ree-1.8.7-2010.02 > Object.superclass
=> nil
I'm guessing there's a mixin somewhere or this has to do with
eigenclasses or perhaps a C-module has been mixed-in between Numeric and
Float. Where do I look at this code?