Since I'm working with ruby, and I'm quite new to it, I'll post some interesting stuff I learned. It's for now very newbish, but it'll eventually raise in quality
ruby stuff :
That code works :
class A
def A.class_method
puts "foo"
end
end
That code doesn't work :
class A::B::C
def A::B::C.class_method
puts "foo"
end
end
The solution :
class A::B::C
def (A::B::C).class_method
puts "foo"
end
end
