未验证 提交 680db1df 编写于 作者: J Jonathan Hefner 提交者: GitHub

Merge pull request #40087 from the-spectator/doc_fix_configurable

Corrects the documentation for AciveSupport::Configurable config class [ci skip]
......@@ -5,7 +5,7 @@
module ActiveSupport
# Configurable provides a <tt>config</tt> method to store and retrieve
# configuration options as an <tt>OrderedHash</tt>.
# configuration options as an <tt>OrderedOptions</tt>.
module Configurable
extend ActiveSupport::Concern
......@@ -124,7 +124,7 @@ def config_accessor(*names, instance_reader: true, instance_writer: true, instan
private :config_accessor
end
# Reads and writes attributes from a configuration <tt>OrderedHash</tt>.
# Reads and writes attributes from a configuration <tt>OrderedOptions</tt>.
#
# require "active_support/configurable"
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册