Class: Xberg::ContributorRole
- Inherits:
-
Object
- Object
- Xberg::ContributorRole
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#role ⇒ String
readonly
Returns the value of attribute role.
Instance Method Summary collapse
-
#initialize ⇒ ContributorRole
constructor
A new instance of ContributorRole.
Constructor Details
#initialize ⇒ ContributorRole
Returns a new instance of ContributorRole.
1485 |
# File 'sig/types.rbs', line 1485
def initialize: (name: String, ?role: String) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
1482 1483 1484 |
# File 'sig/types.rbs', line 1482 def name @name end |
#role ⇒ String (readonly)
Returns the value of attribute role.
1483 1484 1485 |
# File 'sig/types.rbs', line 1483 def role @role end |