My problem basically looks like this:
module Foo
class Bar
def self.who
self.class.to_s
end
end
end
class World < Foo::Bar
end
When I call World.who
I don't get "World"
as a result, I get "Class"
. Some quick Googling didn't yield anything useful, so hence I'm here hoping someone will know how to get the correct class name :)