Class: Fastlane::Helper::GitlabDiffLine
- Inherits:
-
Object
- Object
- Fastlane::Helper::GitlabDiffLine
- Defined in:
- lib/fastlane/plugin/gitlab_increate_line_notes/helper/gitlab_diff_file.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#line ⇒ Object
Returns the value of attribute line.
-
#patch_position ⇒ Object
Returns the value of attribute patch_position.
Instance Method Summary collapse
-
#initialize(ctt, nbr, ppn) ⇒ GitlabDiffLine
constructor
A new instance of GitlabDiffLine.
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
#content ⇒ Object
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 |
#line ⇒ Object
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_position ⇒ Object
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 |