Class: GitIssue::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/git_issue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, short_name, description) ⇒ Command

Returns a new instance of Command.



31
32
33
# File 'lib/git_issue.rb', line 31

def initialize(name, short_name, description)
  @name, @short_name, @description = name, short_name, description
end

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



30
31
32
# File 'lib/git_issue.rb', line 30

def description
  @description
end

#nameObject (readonly)

Returns the value of attribute name.



30
31
32
# File 'lib/git_issue.rb', line 30

def name
  @name
end

#short_nameObject (readonly)

Returns the value of attribute short_name.



30
31
32
# File 'lib/git_issue.rb', line 30

def short_name
  @short_name
end