Class: Bauk::Gen::Outputs::Base
- Inherits:
-
Object
- Object
- Bauk::Gen::Outputs::Base
- Includes:
- Utils::Log
- Defined in:
- lib/bauk/gen/outputs/base.rb
Overview
Base class for all outputters Each outputter needs to implement the following methods:
-
output_items(items)
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(_generator, config = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(_generator, config = {}) ⇒ Base
Returns a new instance of Base.
15 16 17 |
# File 'lib/bauk/gen/outputs/base.rb', line 15 def initialize(_generator, config = {}) config[:outputs] ||= {} end |