Module: Dry::CLI::ProgramName Private
- Defined in:
- lib/dry/cli/program_name.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Program name
Constant Summary collapse
- SEPARATOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
" "
Class Method Summary collapse
Class Method Details
.call(names = [], program_name: $PROGRAM_NAME) ⇒ Object
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.
16 17 18 |
# File 'lib/dry/cli/program_name.rb', line 16 def self.call(names = [], program_name: $PROGRAM_NAME) [File.basename(program_name), names].flatten.join(SEPARATOR) end |