Module: Hanami::CLI::ProgramName Private
- Defined in:
- lib/hanami/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.
" ".freeze
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.
14 15 16 |
# File 'lib/hanami/cli/program_name.rb', line 14 def self.call(names = [], program_name: $PROGRAM_NAME) [File.basename(program_name), names].flatten.join(SEPARATOR) end |