G
Guilherme
# OK
module ProjectName
end
# I haven't defined ProjectName::Numeric. And It does not raise an
exception!!!!!
class Animal < ProjectName::Numeric
end
# The most interesting thing:
Animal.superclass # => ::Numeric
That happens for every native classes.
The problem is that my library relies on that kind of exception. I
always get that kind of misbehaviour when I use ProjectName::Numeric,
ProjectName::Integer or whatever.
I'm using ruby 1.9 + windows.
Thanks,
G
module ProjectName
end
# I haven't defined ProjectName::Numeric. And It does not raise an
exception!!!!!
class Animal < ProjectName::Numeric
end
# The most interesting thing:
Animal.superclass # => ::Numeric
That happens for every native classes.
The problem is that my library relies on that kind of exception. I
always get that kind of misbehaviour when I use ProjectName::Numeric,
ProjectName::Integer or whatever.
I'm using ruby 1.9 + windows.
Thanks,
G