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