Methods
Public Instance methods
Retrieves the class or module for the path klassname (such as "Test::Unit::TestCase").
[ show source ]
# File lib/action_profiler/path2class.rb, line 7 7: def path2class(klassname) 8: klassname.split('::').inject(Object) { |k,n| k.const_get n } 9: end