Class: Policial::UnchangedLine

Inherits:
Object
  • Object
show all
Defined in:
lib/policial/unchanged_line.rb

Overview

Public: An unchanged line in a commit file.

Instance Method Summary collapse

Constructor Details

#initializeUnchangedLine

Returns a new instance of UnchangedLine.



6
7
# File 'lib/policial/unchanged_line.rb', line 6

def initialize(*)
end

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/policial/unchanged_line.rb', line 13

def changed?
  false
end

#patch_positionObject



9
10
11
# File 'lib/policial/unchanged_line.rb', line 9

def patch_position
  -1
end