Method: Ore::Naming#namespace_path_of

Defined in:
lib/ore/naming.rb

#namespace_path_of(name) ⇒ String

Guesses the namespace directory within lib/ for a project.

Parameters:

  • name (String)

    The name of the project.

Returns:

  • (String)

    The namespace directory for the project.



154
155
156
# File 'lib/ore/naming.rb', line 154

def namespace_path_of(name)
  File.join(namespace_dirs_of(name))
end