Class: GroupingRules
Direct Known Subclasses
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#issue_hint ⇒ Object
Returns the value of attribute issue_hint.
-
#label ⇒ Object
Returns the value of attribute label.
-
#label_hint ⇒ Object
Returns the value of attribute label_hint.
-
#last_day_of_period ⇒ Object
Returns the value of attribute last_day_of_period.
Instance Method Summary collapse
Methods inherited from Rules
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
5 6 7 |
# File 'lib/jirametrics/grouping_rules.rb', line 5 def color @color end |
#issue_hint ⇒ Object
Returns the value of attribute issue_hint.
4 5 6 |
# File 'lib/jirametrics/grouping_rules.rb', line 4 def issue_hint @issue_hint end |
#label ⇒ Object
Returns the value of attribute label.
4 5 6 |
# File 'lib/jirametrics/grouping_rules.rb', line 4 def label @label end |
#label_hint ⇒ Object
Returns the value of attribute label_hint.
4 5 6 |
# File 'lib/jirametrics/grouping_rules.rb', line 4 def label_hint @label_hint end |
#last_day_of_period ⇒ Object
Returns the value of attribute last_day_of_period.
5 6 7 |
# File 'lib/jirametrics/grouping_rules.rb', line 5 def last_day_of_period @last_day_of_period end |
Instance Method Details
#eql?(other) ⇒ Boolean
11 12 13 |
# File 'lib/jirametrics/grouping_rules.rb', line 11 def eql? other other.label == @label && other.color == @color end |
#group ⇒ Object
15 16 17 |
# File 'lib/jirametrics/grouping_rules.rb', line 15 def group [@label, @color] end |