Class: YARD::Handlers::Sinatra::Legacy::RouteHandler
- Inherits:
-
Ruby::Legacy::Base
- Object
- Ruby::Legacy::Base
- YARD::Handlers::Sinatra::Legacy::RouteHandler
show all
- Includes:
- AbstractRouteHandler
- Defined in:
- lib/yard/sinatra.rb
Instance Method Summary
collapse
error_handlers, #process, #register_error_handler, #register_route, routes
Instance Method Details
#http_path ⇒ Object
126
127
128
|
# File 'lib/yard/sinatra.rb', line 126
def http_path
statement.tokens[2].text
end
|
#http_verb ⇒ Object
122
123
124
|
# File 'lib/yard/sinatra.rb', line 122
def http_verb
statement.tokens.first.text.upcase
end
|