Module: Roda::RodaPlugins::Streamlined

Defined in:
lib/roda/plugins/streamlined.rb

Defined Under Namespace

Modules: CheckForStreamlined, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(app, _opts = OPTS) ⇒ Object



20
21
22
# File 'lib/roda/plugins/streamlined.rb', line 20

def self.configure(app, _opts = OPTS)
  app.handle_block_result CheckForStreamlined, &:to_s
end

.load_dependencies(app, _opts = OPTS) ⇒ Object



16
17
18
# File 'lib/roda/plugins/streamlined.rb', line 16

def self.load_dependencies(app, _opts = OPTS)
  app.plugin :custom_block_results
end