Class: Fastlane::Helper::GitlabDiffLine

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ctt, nbr, ppn) ⇒ GitlabDiffLine

Returns a new instance of GitlabDiffLine.



9
10
11
12
13
# File 'lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb', line 9

def initialize(ctt, nbr, ppn)
  @content = ctt
  @line = nbr
  @patch_position = ppn
end

Instance Attribute Details

#contentObject

Returns the value of attribute content.



8
9
10
# File 'lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb', line 8

def content
  @content
end

#lineObject

Returns the value of attribute line.



8
9
10
# File 'lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb', line 8

def line
  @line
end

#patch_positionObject

Returns the value of attribute patch_position.



8
9
10
# File 'lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb', line 8

def patch_position
  @patch_position
end