Class: Policial::UnchangedLine
- Inherits:
-
Object
- Object
- Policial::UnchangedLine
- Defined in:
- lib/policial/unchanged_line.rb
Overview
Public: An unchanged line in a commit file.
Instance Method Summary collapse
- #changed? ⇒ Boolean
-
#initialize ⇒ UnchangedLine
constructor
A new instance of UnchangedLine.
- #patch_position ⇒ Object
Constructor Details
#initialize ⇒ UnchangedLine
Returns a new instance of UnchangedLine.
6 7 |
# File 'lib/policial/unchanged_line.rb', line 6 def initialize(*) end |
Instance Method Details
#changed? ⇒ Boolean
13 14 15 |
# File 'lib/policial/unchanged_line.rb', line 13 def changed? false end |
#patch_position ⇒ Object
9 10 11 |
# File 'lib/policial/unchanged_line.rb', line 9 def patch_position -1 end |