Class: Rubysmith::Builders::Reek
- Inherits:
-
Object
- Object
- Rubysmith::Builders::Reek
- Defined in:
- lib/rubysmith/builders/reek.rb
Overview
Builds project skeleton Reek code quality support.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(configuration, builder: Builder) ⇒ Reek
constructor
A new instance of Reek.
Constructor Details
Class Method Details
.call ⇒ Object
11 |
# File 'lib/rubysmith/builders/reek.rb', line 11 def self.call(...) = new(...).call |
Instance Method Details
#call ⇒ Object
18 19 20 21 22 23 |
# File 'lib/rubysmith/builders/reek.rb', line 18 def call return configuration unless configuration.build_reek builder.call(configuration.merge(template_path: "%project_name%/.reek.yml.erb")).render configuration end |