aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/configurable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/configurable.rb')
-rw-r--r--activesupport/lib/active_support/configurable.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/configurable.rb b/activesupport/lib/active_support/configurable.rb
index afd56cb7ce..a8aa53a80f 100644
--- a/activesupport/lib/active_support/configurable.rb
+++ b/activesupport/lib/active_support/configurable.rb
@@ -48,6 +48,7 @@ module ActiveSupport
# user = User.new
# user.allowed_access = true
# user.allowed_access # => true
+ #
def config_accessor(*names)
options = names.extract_options!
@@ -78,6 +79,7 @@ module ActiveSupport
#
# user.config.allowed_access # => true
# user.config.level # => 1
+ #
def config
@_config ||= self.class.config.inheritable_copy
end