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)


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

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

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1526
1527
1528
# File 'sig/types.rbs', line 1526

def name
  @name
end

#roleString (readonly)

Returns the value of attribute role.

Returns:

  • (String)


1527
1528
1529
# File 'sig/types.rbs', line 1527

def role
  @role
end