Class: GitIssue::Command
- Inherits:
-
Object
- Object
- GitIssue::Command
- Defined in:
- lib/git_issue.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#short_name ⇒ Object
readonly
Returns the value of attribute short_name.
Instance Method Summary collapse
-
#initialize(name, short_name, description) ⇒ Command
constructor
A new instance of Command.
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
#description ⇒ Object (readonly)
Returns the value of attribute description.
30 31 32 |
# File 'lib/git_issue.rb', line 30 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
30 31 32 |
# File 'lib/git_issue.rb', line 30 def name @name end |
#short_name ⇒ Object (readonly)
Returns the value of attribute short_name.
30 31 32 |
# File 'lib/git_issue.rb', line 30 def short_name @short_name end |