Class: Lazylead::Comment
- Inherits:
-
Object
- Object
- Lazylead::Comment
- Defined in:
- lib/lazylead/system/jira.rb
Overview
Comment in jira ticket
Instance Method Summary collapse
-
#include?(text) ⇒ Boolean
Check that comment has expected text.
-
#initialize(comment) ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize(comment) ⇒ Comment
Returns a new instance of Comment.
242 243 244 |
# File 'lib/lazylead/system/jira.rb', line 242 def initialize(comment) @comment = comment end |
Instance Method Details
#include?(text) ⇒ Boolean
Check that comment has expected text
247 248 249 |
# File 'lib/lazylead/system/jira.rb', line 247 def include?(text) @comment.attrs["body"].include? text end |