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

included

Instance Method Details

#command_nameObject

See Also:

Since:

  • 0.3.0



69
70
71
# File 'lib/command_kit/program_name.rb', line 69

def command_name
  program_name
end

#program_nameObject



60
61
62
# File 'lib/command_kit/program_name.rb', line 60

def program_name
  self.class.program_name
end