Skip to content

Commit

Permalink
Document extended namespaces cannot be anonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Apr 24, 2023
1 parent a50b394 commit 2536086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ module Net::HTTP::NicheFeature
end
```

`for_gem_extension` expects as argument the namespace being extended, which has to be a class or module object.
`for_gem_extension` expects as argument the namespace being extended, which has to be a non-anonymous class or module object.

If it exists, the file `lib/net/http/niche_feature/version.rb` is expected to define `Net::HTTP::NicheFeature::VERSION`.

Expand Down

0 comments on commit 2536086

Please sign in to comment.