Class: BigBand::Integration::YARD::Handlers::Sinatra::RouteHandler
- Inherits:
-
YARD::Handlers::Ruby::Base
- Object
- YARD::Handlers::Ruby::Base
- BigBand::Integration::YARD::Handlers::Sinatra::RouteHandler
- Includes:
- AbstractRouteHandler
- Defined in:
- lib/big_band/integration/yard.rb
Overview
Route handler for YARD’s source parser.
Instance Method Summary collapse
Methods included from AbstractRouteHandler
#process, #register_route, routes
Instance Method Details
#http_path ⇒ Object
79 80 81 |
# File 'lib/big_band/integration/yard.rb', line 79 def http_path statement.parameters.first.source end |
#http_verb ⇒ Object
76 77 78 |
# File 'lib/big_band/integration/yard.rb', line 76 def http_verb statement.method_name(true).to_s.upcase end |