class Reek::SmellDetectors::UnusedPrivateMethod::Hit
Class for storing ‘hits` which are unused private methods we found in the given context. `name` and `line` are then used to construct SmellWarnings.
Attributes
Public Class Methods
Source
# File lib/reek/smell_detectors/unused_private_method.rb, line 24 def initialize(context) @name = context.name @line = context.exp.line end