Class: RubomaticHtml::Generator::CopReadmeInjector
- Inherits:
-
DeptReadmeInjector
- Object
- DeptReadmeInjector
- RubomaticHtml::Generator::CopReadmeInjector
- 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
-
#initialize(badge:, **kwargs) ⇒ CopReadmeInjector
constructor
:nodoc:.
Methods inherited from DeptReadmeInjector
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 |