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)


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

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

Instance Attribute Details

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1471
1472
1473
# File 'sig/types.rbs', line 1471

def name
  @name
end

#roleString (readonly)

Returns the value of attribute role.

Returns:

  • (String)


1472
1473
1474
# File 'sig/types.rbs', line 1472

def role
  @role
end