Exception: Rookout::Exceptions::RookLineMoved
- Inherits:
-
ToolException
- Object
- RuntimeError
- ToolException
- Rookout::Exceptions::RookLineMoved
- Defined in:
- lib/rookout/exceptions.rb
Instance Attribute Summary
Attributes inherited from ToolException
Instance Method Summary collapse
-
#initialize(filepath, old_line_no, new_line_no) ⇒ RookLineMoved
constructor
A new instance of RookLineMoved.
Constructor Details
#initialize(filepath, old_line_no, new_line_no) ⇒ RookLineMoved
Returns a new instance of RookLineMoved.
196 197 198 199 200 201 202 203 |
# File 'lib/rookout/exceptions.rb', line 196 def initialize filepath, old_line_no, new_line_no super "Line has moved! path: #{filepath}, original line no: #{old_line_no}, new line no: #{new_line_no}", { "filepath" => filepath, "old_line_no" => old_line_no, "new_line_no" => new_line_no } end |