Method: Ore::Naming#namespace_of

Defined in:
lib/ore/naming.rb

#namespace_of(name) ⇒ String

Guesses the full namespace for a project.

Parameters:

  • name (String)

    The name of the project.

Returns:

  • (String)

    The full module namespace for a project.



113
114
115
# File 'lib/ore/naming.rb', line 113

def namespace_of(name)
  modules_of(name).join('::')
end