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


143
144
145
# File 'lib/sinatra/namespace.rb', line 143

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