Ruby syntax question [duplicate]
Possible Duplicates:
Double colons rails What does :: do?
I was reading a manual on Rails and came across this snippet:
match 'rocketeer.js' => ::TestRoutingM开发者_开发问答apper::RocketeerApp
I'd never seen the ::
syntax at the head of a class name before. I'm wondering what is the significance of writing it this way.
See my answer to What does :: do?
精彩评论