Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjinahn committed Mar 2, 2020
1 parent d3ce73c commit 8b86b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby_oop_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ module Foo
SomeConstant = 'hello'
end

Bar.constants # => [:SomeConstant]
Foo.constants # => [:SomeConstant]
```

To find the path of a specific module, the `Module.nesting` can be used:
Expand Down

0 comments on commit 8b86b80

Please sign in to comment.