Module: Gitlab::CycleAnalytics::Summary::Defaults

Included in:
Base
Defined in:
lib/gitlab/cycle_analytics/summary/defaults.rb

Instance Method Summary collapse

Instance Method Details

#identifierObject



7
8
9
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 7

def identifier
  self.class.name.demodulize.underscore.to_sym
end

:nocov:



23
24
25
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 23

def links
  []
end

#titleObject

:nocov: the class including this concern is expected to test this method.

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 12

def title
  raise NotImplementedError, "Expected #{self.name} to implement title"
end

#valueObject

:nocov: the class including this concern is expected to test this method.

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/gitlab/cycle_analytics/summary/defaults.rb', line 18

def value
  raise NotImplementedError, "Expected #{self.name} to implement value"
end