Class: Xberg::ContributorRole

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContributorRole

Returns a new instance of ContributorRole.

Parameters:

  • name: (String)
  • role: (String)


1486
# File 'sig/types.rbs', line 1486

def initialize: (name: String, ?role: String) -> void

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1483
1484
1485
# File 'sig/types.rbs', line 1483

def name
  @name
end

#roleString (readonly)

Returns the value of attribute role.

Returns:

  • (String)


1484
1485
1486
# File 'sig/types.rbs', line 1484

def role
  @role
end