lib/active_support/configurable.rb in activesupport-6.0.6.1 vs lib/active_support/configurable.rb in activesupport-6.1.0.rc1
- old
+ new
@@ -3,11 +3,11 @@
require "active_support/concern"
require "active_support/ordered_options"
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
class Configuration < ActiveSupport::InheritableOptions
def compile_methods!
@@ -122,12 +122,12 @@
end
end
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'
+ # require "active_support/configurable"
#
# class User
# include ActiveSupport::Configurable
# end
#