Class: Pronto::Rubocop::OffenseLine
- Inherits:
-
Object
- Object
- Pronto::Rubocop::OffenseLine
- Defined in:
- lib/pronto/rubocop/offense_line.rb
Instance Method Summary collapse
-
#initialize(patch_cop, offense, line) ⇒ OffenseLine
constructor
A new instance of OffenseLine.
- #message ⇒ Object
Constructor Details
#initialize(patch_cop, offense, line) ⇒ OffenseLine
Returns a new instance of OffenseLine.
6 7 8 9 10 |
# File 'lib/pronto/rubocop/offense_line.rb', line 6 def initialize(patch_cop, offense, line) @patch_cop = patch_cop @offense = offense @line = line end |