Module: CommandKit::ProgramName
- Extended by:
- ModuleMethods
- Defined in:
- lib/command_kit/program_name.rb
Overview
Retrieves the current program name ($PROGRAM_NAME
).
Defined Under Namespace
Modules: ClassMethods, ModuleMethods
Instance Method Summary collapse
Methods included from ModuleMethods
Instance Method Details
#command_name ⇒ Object
69 70 71 |
# File 'lib/command_kit/program_name.rb', line 69 def command_name program_name end |
#program_name ⇒ Object
60 61 62 |
# File 'lib/command_kit/program_name.rb', line 60 def program_name self.class.program_name end |