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)


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

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

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1588
1589
1590
# File 'sig/types.rbs', line 1588

def name
  @name
end

#roleString (readonly)

Returns the value of attribute role.

Returns:

  • (String)


1589
1590
1591
# File 'sig/types.rbs', line 1589

def role
  @role
end