Class: Chutney::Issue
- Inherits:
-
Object
- Object
- Chutney::Issue
- Includes:
- Term::ANSIColor
- Defined in:
- lib/chutney/issue.rb
Overview
entity value class for issues
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#references ⇒ Object
readonly
Returns the value of attribute references.
Instance Method Summary collapse
-
#initialize(name, references, description = nil) ⇒ Issue
constructor
A new instance of Issue.
Constructor Details
#initialize(name, references, description = nil) ⇒ Issue
Returns a new instance of Issue.
11 12 13 14 15 |
# File 'lib/chutney/issue.rb', line 11 def initialize(name, references, description = nil) @name = name @references = references @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'lib/chutney/issue.rb', line 9 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/chutney/issue.rb', line 9 def name @name end |
#references ⇒ Object (readonly)
Returns the value of attribute references.
9 10 11 |
# File 'lib/chutney/issue.rb', line 9 def references @references end |