Class: Bauk::Gen::Outputs::Base

Inherits:
Object
  • Object
show all
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

Filesystem

Instance Method Summary collapse

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