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:
Javier Valencia
2025-12-03 06:52:05 +01:00
committed by GitHub
parent c1881ffb15
commit dc4874826a
+1 -1
View File
@@ -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.
```ruby
class SomeModule
module SomeModule
private
def some_private_method