Class: Command

Inherits:
Object
  • Object
show all
Defined in:
lib/get/subcommand/command.rb

Overview

Base class for (sub)commands. (Sub)Commands should be singletons.

Direct Known Subclasses

Changelog, Commit, Complete, Describe, DescribeDocker, Init, License, Tree

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



22
23
24
# File 'lib/get/subcommand/command.rb', line 22

def action
  @action
end

#descriptionObject (readonly)

Returns the value of attribute description.



22
23
24
# File 'lib/get/subcommand/command.rb', line 22

def description
  @description
end