class
AmberLSP::Rules::Controllers::ActionReturnRule
Defined in:
amber_lsp/rules/controllers/action_return_rule.crConstant Summary
-
RESPONSE_METHODS =
["render", "redirect_to", "redirect_back", "respond_with", "halt!"] -
SKIPPED_METHODS =
["initialize", "before_action", "after_action", "before_filter", "after_filter"] -
VISIBILITY_CHANGE =
/^\s*(private|protected)\s*$/
Instance Method Summary
- #applies_to : Array(String)
- #check(file_path : String, content : String) : Array(Diagnostic)
- #default_severity : AmberLSP::Rules::Severity
- #description : String
- #id : String