Module: Laser::Analysis::UnusedMethodDetection

Included in:
MethodAnalysis
Defined in:
lib/laser/analysis/method_analysis/unused_methods.rb

Instance Method Summary collapse

Instance Method Details

#unused_methodsObject



4
5
6
7
8
# File 'lib/laser/analysis/method_analysis/unused_methods.rb', line 4

def unused_methods
  each_user_method.reject do |method|
    method.dispatched? || method.builtin || method.special
  end
end