lib/sinatra/export.rb
# Wrapper around Sinatra::AdvancedRoutes#each_route
# to filter what comes through.
# @return [Array<String>]
Wrapper around Sinatra::AdvancedRoutes#each_route
to filter what comes through.
Wrapper around Sinatra :: AdvancedRoutes#each_route to filter what comes through .
def route_paths
          route_paths = []
          app.each_route do |route|
            next if route.verb != 'GET'
            next unless route_path_usable?(route.path)
            route_paths << route.path
          end
          route_paths
        end
def route_paths route_paths = [ ] app . each_route do | route | next if route . verb != 'GET' next unless route_path_usable? ( route . path ) route_paths << route . path end route_paths end
Wrapper around Sinatra::AdvancedRoutes#each_route
to filter what comes through.
Wrapper around Sinatra :: AdvancedRoutes#each_route to filter what comes through .
None
Array<String>