Module: Sinatra::Namespace::SharedMethods

Included in:
BaseMethods, NamespacedMethods
Defined in:
lib/sinatra/namespace.rb

Instance Method Summary collapse

Instance Method Details

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



149
150
151
# File 'lib/sinatra/namespace.rb', line 149

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