class
Analyzer::Ruby::Rails::RouteFileState
- Analyzer::Ruby::Rails::RouteFileState
- Reference
- Object
Overview
Everything one routes.rb walk carries: the file-wide constants plus the
mutable parse state the directive handlers below read and update. The
collections are shared by reference — a handler pushing a frame or
recording a concern mutates the very objects parse_routes_file walks —
while the doorkeeper config is swapped for fresh containers when a
use_doorkeeper block closes, so those two are reassignable.
Defined in:
analyzer/analyzers/ruby/rails.crConstructors
Instance Method Summary
- #concern_resources : Hash(String, Array(ConcernResource))
- #details : Details
- #doorkeeper_controllers : Hash(String, String)
- #doorkeeper_controllers=(doorkeeper_controllers : Hash(String, String))
-
#doorkeeper_skip : Set(String)
`use_doorkeeper do ...
-
#doorkeeper_skip=(doorkeeper_skip : Set(String))
`use_doorkeeper do ...
- #framework_root : String
- #parsed_route_files : Set(String)
- #stack : Array(Frame)
Constructor Detail
Instance Method Detail
use_doorkeeper do ... end config accumulated while the block
is on top of the stack: skip_controllers :foo drops a group,
controllers foo: 'bar' remaps the implementing controller.
use_doorkeeper do ... end config accumulated while the block
is on top of the stack: skip_controllers :foo drops a group,
controllers foo: 'bar' remaps the implementing controller.