Module Sinatra::Reloader::BaseMethods
In: lib/sinatra/reloader.rb

Contains the methods defined in Sinatra::Base that are overridden.

Methods

Public Instance methods

Does everything Sinatra::Base#add_filter does, but it also tells the +Watcher::List+ for the Sinatra application to watch the defined filter.

Does everything Sinatra::Base#route does, but it also tells the +Watcher::List+ for the Sinatra application to watch the defined route.

Note: We are using compile! so we don‘t interfere with extensions changing route.

Does everything Sinatra::Base#error does, but it also tells the +Watcher::List+ for the Sinatra application to watch the defined error handler.

Does everything Sinatra::Base#register does and then registers the reloader in the subclass.

Does everything Sinatra::Base#inline_templates= does, but it also tells the +Watcher::List+ for the Sinatra application to watch the inline templates in file or the file who made the call to this method.

Does everything Sinatra::Base#register does, but it also lets the reloader know that an extension is being registered, because the elements defined in its registered method need a special treatment.

Protects Sinatra::Base.run! from being called more than once.

Does everything Sinatra::Base#use does, but it also tells the +Watcher::List+ for the Sinatra application to watch the middleware being used.

[Validate]