Class: AffirmIt::IssueEvent
- Defined in:
- lib/affirmit/event/issueevent.rb
Constant Summary
Constants inherited from Event
Event::EVENT_TYPE_DESCRIPTIONS
Instance Attribute Summary collapse
-
#issue ⇒ Object
readonly
Returns the value of attribute issue.
Attributes inherited from Event
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#initialize(type, issue) ⇒ IssueEvent
constructor
A new instance of IssueEvent.
Methods inherited from Event
Constructor Details
#initialize(type, issue) ⇒ IssueEvent
Returns a new instance of IssueEvent.
7 8 9 10 |
# File 'lib/affirmit/event/issueevent.rb', line 7 def initialize type, issue super type @issue = issue end |
Instance Attribute Details
#issue ⇒ Object (readonly)
Returns the value of attribute issue.
5 6 7 |
# File 'lib/affirmit/event/issueevent.rb', line 5 def issue @issue end |
Instance Method Details
#backtrace ⇒ Object
12 13 14 |
# File 'lib/affirmit/event/issueevent.rb', line 12 def backtrace @issue.backtrace.reject { |line| line =~ /^.*lib\/affirmit.*:/ } end |