Class: RubomaticHtml::Generator::CopReadmeInjector

Inherits:
DeptReadmeInjector show all
Defined in:
lib/rubomatic-html/generator/cop_readme_injector.rb

Constant Summary collapse

TEMPLATE =
'* xref:./%{cop_folder}/README.adoc[``%{department}/%{cop}``]'

Instance Method Summary collapse

Methods inherited from DeptReadmeInjector

#inject_string

Constructor Details

#initialize(badge:, **kwargs) ⇒ CopReadmeInjector

:nodoc:



10
11
12
13
14
# File 'lib/rubomatic-html/generator/cop_readme_injector.rb', line 10

def initialize(badge:, **kwargs)
  super(badge: badge, **kwargs)

  @cop = badge.cop_name
end