Class: UnUsedMethods::Analyzer
- Inherits:
-
Object
- Object
- UnUsedMethods::Analyzer
- Defined in:
- lib/un_used_methods/analyzer.rb
Overview
It performs the following tasks:
-
Searches for method definitions in the specified directories.
-
Checks if these methods are used elsewhere in the codebase.
-
Reports methods that are not used.
Instance Method Summary collapse
Instance Method Details
#analyze ⇒ Object
12 13 14 15 |
# File 'lib/un_used_methods/analyzer.rb', line 12 def analyze un_used_methods = find_un_used_methods report_un_used_methods(un_used_methods) end |