aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2018-10-03 21:42:55 +0900
committerAkira Matsuda <ronnie@dio.jp>2018-10-03 21:42:55 +0900
commitb2bc4369a3f07d6f6a57a7b949b8d6654792b322 (patch)
tree62839064cf4dccff168428ab992cd17b36e76b7b /activesupport
parent370537de05092aeea552146b42042833212a1acc (diff)
downloadrails-b2bc4369a3f07d6f6a57a7b949b8d6654792b322.tar.gz
rails-b2bc4369a3f07d6f6a57a7b949b8d6654792b322.tar.bz2
rails-b2bc4369a3f07d6f6a57a7b949b8d6654792b322.zip
Bring config_accessor's API document back to its life
the document has been disappeared since the method became private at c2bfe6cbc8cab9caeab418472a1e12a3ed3e75e2
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/configurable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/configurable.rb b/activesupport/lib/active_support/configurable.rb
index 2610114d8f..6159e45230 100644
--- a/activesupport/lib/active_support/configurable.rb
+++ b/activesupport/lib/active_support/configurable.rb
@@ -105,7 +105,7 @@ module ActiveSupport
# end
#
# User.hair_colors # => [:brown, :black, :blonde, :red]
- def config_accessor(*names)
+ def config_accessor(*names) #:doc:
options = names.extract_options!
names.each do |name|