module Roda::RodaPlugins::HostRouting::InstanceMethods

  1. lib/roda/plugins/host_routing.rb

Methods

Public Instance

  1. _host_routing_default

Public Instance methods

_host_routing_default(_)

Handle case where plugin is used without providing a block to hosts.default. This returns nil, ensuring that the hostname provided to hosts.default will be used.

[show source]
    # File lib/roda/plugins/host_routing.rb
158 def _host_routing_default(_)
159   nil
160 end