method

extract_modules

extract_modules(name)
private

Extract modules from filesystem-style or ruby-style path:

  good/fun/stuff
  Good::Fun::Stuff

produce the same results.