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, #calls, #interpolated_xstrings, #lvars, #methods, #name, #options, #parent, #parent_modules, #path
Instance Method Summary collapse
- #find_actions ⇒ Object
-
#initialize(path, content) ⇒ Routes
constructor
A new instance of Routes.
Methods inherited from Base
#find_calls, #find_calls_with_block, #find_method, #find_methods, #method_definitions, #public_methods, #visit_call_node, #visit_class_node, #visit_def_node, #visit_instance_variable_write_node, #visit_interpolated_x_string_node, #visit_local_variable_write_node, #visit_module_node
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 |