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
71 72 73 |
# File 'lib/command_kit/program_name.rb', line 71 def command_name program_name end |
#program_name ⇒ Object
62 63 64 |
# File 'lib/command_kit/program_name.rb', line 62 def program_name self.class.program_name end |