class Sinatra::Reloader::Watcher::Element
Represents an element of a Sinatra
application that may need to be reloaded. An element could be:
-
a route
-
a filter
-
an error handler
-
a middleware
-
inline templates
Its representation
attribute is there to allow to identify the element within an application, that is, to match it with its Sinatra’s internal representation.