struct

Analyzer::Ruby::Rails::ConcernBody

Inherits Struct < Value < Object

A concern :name do ... end body: its routing lines, replayed wherever resources ..., concerns: :name or concerns :name names it. Rails runs the block at that spot, so a member do post :approve end in it hangs off the resource that names the concern.

Constructors

new(routes_path : String, lines : Array(RouteLine))
Source

Instance methods

clone
Source
copy_with(routes_path _routes_path = @routes_path, lines _lines = @lines)
Source
lines
routes_path