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.
1475 |
# File 'sig/types.rbs', line 1475
def initialize: (name: String, ?role: String) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
1472 1473 1474 |
# File 'sig/types.rbs', line 1472 def name @name end |
#role ⇒ String (readonly)
Returns the value of attribute role.
1473 1474 1475 |
# File 'sig/types.rbs', line 1473 def role @role end |