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