Method: CommandKit::Commands::AutoRequire#join

Defined in:
lib/command_kit/commands/auto_require.rb

#join(name) ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the path for the given command name.

Parameters:

  • name (String)

    The given command name.

Returns:

  • (String)

    The path to the file that should contain the command.



68
69
70
# File 'lib/command_kit/commands/auto_require.rb', line 68

def join(name)
  File.join(@dir,name)
end