123456789_123456789_123456789_123456789_123456789_

Module: Sinatra::Namespace::SharedMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: sinatra-contrib/lib/sinatra/namespace.rb

Instance Method Summary

Instance Method Details

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

[ GitHub ]

  
# File 'sinatra-contrib/lib/sinatra/namespace.rb', line 222

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