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



141
142
143
# File 'lib/sinatra/namespace.rb', line 141

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