Skip to content

Commit 1c12e52

Browse files
author
Helperhaps
committed
fix typo for constant
1 parent b731b35 commit 1c12e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manuscript/autoloading_and_reloading_constants.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class C
154154
end
155155
----
156156

157-
Ruby 在 `Object` 中创建一个变量 `C`,并将一个类对象存储在 `C` 常量中。这个类实例的名称是“C”,一个字符串,跟常量名一样。
157+
Ruby 在 `Object` 中创建一个常量 `C`,并将一个类对象存储在 `C` 常量中。这个类实例的名称是“C”,一个字符串,跟常量名一样。
158158

159159
如下的代码:
160160

0 commit comments

Comments
 (0)