First syntax is preferred when you have various classes of a module spread across multiple files in a project; and provided module is always defined in PATH. Such as, while making a gem.
Second is more central, and should be done when details are concerned. module doesn't not only include class, it includes methods and constants etc for namespace too; which are useful.