Class: CodeReviewLeaderboard::Repository
- Inherits:
-
Object
- Object
- CodeReviewLeaderboard::Repository
- Defined in:
- lib/code_review_leaderboard/repository.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:) ⇒ Repository
constructor
A new instance of Repository.
- #pulls ⇒ Object
Constructor Details
#initialize(name:) ⇒ Repository
Returns a new instance of Repository.
7 8 9 |
# File 'lib/code_review_leaderboard/repository.rb', line 7 def initialize(name:) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/code_review_leaderboard/repository.rb', line 5 def name @name end |