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



71
72
73
# File 'lib/command_kit/program_name.rb', line 71

def command_name
  program_name
end

#program_nameObject



62
63
64
# File 'lib/command_kit/program_name.rb', line 62

def program_name
  self.class.program_name
end