change the object type in the example code (#1824)
changing the example code, which says it’s a `module` but actually shows a `class`.
This commit is contained in:
@@ -126,7 +126,7 @@ end
|
|||||||
If a module only has private methods, we mark it `private` at the top and add an extra new line after but don't indent.
|
If a module only has private methods, we mark it `private` at the top and add an extra new line after but don't indent.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
class SomeModule
|
module SomeModule
|
||||||
private
|
private
|
||||||
|
|
||||||
def some_private_method
|
def some_private_method
|
||||||
|
|||||||
Reference in New Issue
Block a user