Class: Spektr::Targets::Routes
- Defined in:
- lib/spektr/targets/routes.rb
Defined Under Namespace
Classes: Action
Instance Attribute Summary collapse
-
#routes ⇒ Object
Returns the value of attribute routes.
Attributes inherited from Base
#ast, #name, #options, #parent, #path, #processor
Instance Method Summary collapse
- #find_actions ⇒ Object
-
#initialize(path, content) ⇒ Routes
constructor
A new instance of Routes.
Methods inherited from Base
#ast_to_exp, #find, #find_calls, #find_calls_with_block, #find_method, #find_methods, #find_xstr, #node_matches?
Constructor Details
#initialize(path, content) ⇒ Routes
Returns a new instance of Routes.
6 7 8 |
# File 'lib/spektr/targets/routes.rb', line 6 def initialize(path, content) super end |
Instance Attribute Details
#routes ⇒ Object
Returns the value of attribute routes.
4 5 6 |
# File 'lib/spektr/targets/routes.rb', line 4 def routes @routes end |