Class: Apadmi::Grout::ClassifiedIssues

Inherits:
Struct
  • Object
show all
Defined in:
lib/apadmi/grout/models/release_notes_config.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#defectsObject

Returns the value of attribute defects

Returns:

  • (Object)

    the current value of defects



10
11
12
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 10

def defects
  @defects
end

#featuresObject

Returns the value of attribute features

Returns:

  • (Object)

    the current value of features



10
11
12
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 10

def features
  @features
end

#improvementsObject

Returns the value of attribute improvements

Returns:

  • (Object)

    the current value of improvements



10
11
12
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 10

def improvements
  @improvements
end

#othersObject

Returns the value of attribute others

Returns:

  • (Object)

    the current value of others



10
11
12
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 10

def others
  @others
end

#tasksObject

Returns the value of attribute tasks

Returns:

  • (Object)

    the current value of tasks



10
11
12
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 10

def tasks
  @tasks
end

Instance Method Details

#emptyObject

Returns true if all categories are empty

Returns:

  • returns true if all categories are empty



18
19
20
21
# File 'lib/apadmi/grout/models/release_notes_config.rb', line 18

def empty
  tasks.empty? && features.empty? &&
    improvements.empty? && defects.empty? && others.empty?
end