Class: Danger::Changelog::CommitWrapper
- Inherits:
-
Object
- Object
- Danger::Changelog::CommitWrapper
- Extended by:
- Forwardable
- Defined in:
- lib/danger/plugins/changelog.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#trailer_key ⇒ Object
readonly
Returns the value of attribute trailer_key.
Instance Method Summary collapse
-
#initialize(commit, trailer_key, category) ⇒ CommitWrapper
constructor
A new instance of CommitWrapper.
Constructor Details
#initialize(commit, trailer_key, category) ⇒ CommitWrapper
Returns a new instance of CommitWrapper.
103 104 105 106 107 |
# File 'lib/danger/plugins/changelog.rb', line 103 def initialize(commit, trailer_key, category) @commit = commit @trailer_key = trailer_key @category = category end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
101 102 103 |
# File 'lib/danger/plugins/changelog.rb', line 101 def category @category end |
#trailer_key ⇒ Object (readonly)
Returns the value of attribute trailer_key.
101 102 103 |
# File 'lib/danger/plugins/changelog.rb', line 101 def trailer_key @trailer_key end |