1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Bring config_accessor's API document back to its life

the document has been disappeared since the method became private at c2bfe6cbc8
This commit is contained in:
Akira Matsuda 2018-10-03 21:42:55 +09:00
parent 370537de05
commit b2bc4369a3

View file

@ -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|