From 8b86b8029d218ba23c3d3f894c8992309f16afa0 Mon Sep 17 00:00:00 2001 From: Dong-jin Ahn Date: Mon, 2 Mar 2020 16:10:58 +0900 Subject: [PATCH] Fix typo --- ruby_oop_design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby_oop_design.md b/ruby_oop_design.md index c3cc5b2..a1c7419 100644 --- a/ruby_oop_design.md +++ b/ruby_oop_design.md @@ -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: