Class: Apadmi::Grout::ClassifiedIssues
- Inherits:
-
Struct
- Object
- Struct
- Apadmi::Grout::ClassifiedIssues
- Defined in:
- lib/apadmi/grout/models/release_notes_config.rb
Overview
Instance Attribute Summary collapse
-
#defects ⇒ Object
Returns the value of attribute defects.
-
#features ⇒ Object
Returns the value of attribute features.
-
#improvements ⇒ Object
Returns the value of attribute improvements.
-
#others ⇒ Object
Returns the value of attribute others.
-
#tasks ⇒ Object
Returns the value of attribute tasks.
-
#unclassified ⇒ Object
Returns the value of attribute unclassified.
Instance Method Summary collapse
-
#empty? ⇒ Boolean
Returns true if all categories are empty.
-
#initialize(tasks, features, improvements, defects, others, unclassified = []) ⇒ ClassifiedIssues
constructor
A new instance of ClassifiedIssues.
Constructor Details
#initialize(tasks, features, improvements, defects, others, unclassified = []) ⇒ ClassifiedIssues
Returns a new instance of ClassifiedIssues.
19 20 21 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 19 def initialize(tasks, features, improvements, defects, others, unclassified = []) super end |
Instance Attribute Details
#defects ⇒ Object
Returns the value of attribute defects
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def defects @defects end |
#features ⇒ Object
Returns the value of attribute features
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def features @features end |
#improvements ⇒ Object
Returns the value of attribute improvements
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def improvements @improvements end |
#others ⇒ Object
Returns the value of attribute others
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def others @others end |
#tasks ⇒ Object
Returns the value of attribute tasks
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def tasks @tasks end |
#unclassified ⇒ Object
Returns the value of attribute unclassified
11 12 13 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 11 def unclassified @unclassified end |
Instance Method Details
#empty? ⇒ Boolean
Returns true if all categories are empty
24 25 26 27 |
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 24 def empty? tasks.empty? && features.empty? && improvements.empty? && defects.empty? && others.empty? && unclassified.empty? end |