Module: Gitlab::CycleAnalytics::Summary::Defaults
- Included in:
- Base
- Defined in:
- lib/gitlab/cycle_analytics/summary/defaults.rb
Instance Method Summary collapse
- #identifier ⇒ Object
-
#links ⇒ Object
:nocov:.
-
#title ⇒ Object
:nocov: the class including this concern is expected to test this method.
-
#value ⇒ Object
:nocov: the class including this concern is expected to test this method.
Instance Method Details
#identifier ⇒ Object
7 8 9 |
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 7 def identifier self.class.name.demodulize.underscore.to_sym end |
#links ⇒ Object
:nocov:
23 24 25 |
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 23 def links [] end |
#title ⇒ Object
:nocov: the class including this concern is expected to test this method.
12 13 14 |
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 12 def title raise NotImplementedError, "Expected #{self.name} to implement title" end |
#value ⇒ Object
:nocov: the class including this concern is expected to test this method.
18 19 20 |
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 18 def value raise NotImplementedError, "Expected #{self.name} to implement value" end |