Skip to content

Commit

Permalink
Merge pull request gauthamchandra#7 from adoji92/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
gauthamchandra committed Mar 27, 2020
2 parents d3ce73c + 8b86b80 commit 0990151
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 0990151

Please sign in to comment.