We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5407951 commit cde54c1Copy full SHA for cde54c1
README.md
@@ -96,7 +96,7 @@ See `code_ownership_spec.rb` for an example.
96
`CodeOwnership.for_class` can be given a class and will either return `nil`, or a `CodeTeams::Team`.
97
98
```ruby
99
-CodeOwnership.for_class(MyClass.name)
+CodeOwnership.for_class(MyClass)
100
```
101
102
Under the hood, this finds the file where the class is defined and returns the owner of that file.
0 commit comments