Class: Gitlab::Dangerfiles::Spin
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::Dangerfiles::Spin
- Defined in:
- lib/gitlab/dangerfiles/spin.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#maintainer ⇒ Object
Returns the value of attribute maintainer.
-
#optional_role ⇒ Object
Returns the value of attribute optional_role.
-
#reviewer ⇒ Object
Returns the value of attribute reviewer.
Instance Method Summary collapse
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
5 6 7 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 5 def category @category end |
#maintainer ⇒ Object
Returns the value of attribute maintainer
5 6 7 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 5 def maintainer @maintainer end |
#optional_role ⇒ Object
Returns the value of attribute optional_role
5 6 7 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 5 def optional_role @optional_role end |
#reviewer ⇒ Object
Returns the value of attribute reviewer
5 6 7 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 5 def reviewer @reviewer end |
Instance Method Details
#no_maintainer? ⇒ Boolean
10 11 12 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 10 def no_maintainer? maintainer.nil? end |
#no_reviewer? ⇒ Boolean
6 7 8 |
# File 'lib/gitlab/dangerfiles/spin.rb', line 6 def no_reviewer? reviewer.nil? end |