Class: Saddler::Reporter::Github::Comment
- Inherits:
-
Struct
- Object
- Struct
- Saddler::Reporter::Github::Comment
- Defined in:
- lib/saddler/reporter/github/comment.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#path ⇒ Object
Returns the value of attribute path.
-
#position ⇒ Object
Returns the value of attribute position.
-
#sha ⇒ Object
Returns the value of attribute sha.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
4 5 6 |
# File 'lib/saddler/reporter/github/comment.rb', line 4 def body @body end |
#path ⇒ Object
Returns the value of attribute path
4 5 6 |
# File 'lib/saddler/reporter/github/comment.rb', line 4 def path @path end |
#position ⇒ Object
Returns the value of attribute position
4 5 6 |
# File 'lib/saddler/reporter/github/comment.rb', line 4 def position @position end |
#sha ⇒ Object
Returns the value of attribute sha
4 5 6 |
# File 'lib/saddler/reporter/github/comment.rb', line 4 def sha @sha end |
Instance Method Details
#==(other) ⇒ Object
5 6 7 8 9 |
# File 'lib/saddler/reporter/github/comment.rb', line 5 def ==(other) position == other.position && path == other.path && body == other.body end |