Module: Roda::RodaPlugins::BridgetownServer::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#root_hook(&block) ⇒ Object



104
105
106
# File 'lib/roda/plugins/bridgetown_server.rb', line 104

def root_hook(&block)
  opts[:root_hook] = block
end