Module: Sinatra::Namespace::SharedMethods

Included in:
BaseMethods, NamespacedMethods
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-contrib-3.0.5/lib/sinatra/namespace.rb

Instance Method Summary collapse

Instance Method Details

#namespace(pattern, conditions = {}, &block) ⇒ Object



222
223
224
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/sinatra-contrib-3.0.5/lib/sinatra/namespace.rb', line 222

def namespace(pattern, conditions = {}, &block)
  Sinatra::Namespace.new(self, pattern, conditions, &block)
end