Module: Staticky::Routing::Plugins::Prelude::ClassMethods
- Defined in:
- lib/staticky/routing/plugins/prelude.rb
Instance Method Summary collapse
Instance Method Details
#new(**env) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/staticky/routing/plugins/prelude.rb', line 8 def new(**env) super().tap do |router| env.each do |key, value| router.send(:"#{key}=", value) end end end |