Skip to content

Conversation

p8
Copy link
Contributor

@p8 p8 commented Feb 8, 2024

Attribute readers and writers can be marked as :nodoc to keep them undocumented:

attr_reader :name # :nodoc:

For aliases this behaviour should be the same:

alias_method :old :new # :nodoc:

Attribute readers and writers can be marked as `:nodoc` to keep them
undocumented:

```ruby
attr_reader :name # :nodoc:
```

For aliases this behaviour should be the same:

```ruby
alias_method :old :new # :nodoc:
```
@nobu nobu merged commit 265d572 into ruby:master Feb 9, 2024
@p8 p8 deleted the fix/nodoc-for-alias-method branch February 9, 2024 10:01
@p8
Copy link
Contributor Author

p8 commented Feb 9, 2024

Thanks @nobu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants