diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-03 22:35:43 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-03 22:35:43 -0800 |
commit | 5ce25aecee062c11fc0186ae2df625ba3f013a46 (patch) | |
tree | 2c0dc0f69d4ff0dc182cc9f32d59d85257a6723b /activesupport/lib | |
parent | 2a60cc682224f8a0923de1e0bf769d5333084480 (diff) | |
parent | 13a932cddcd3165792d3454009b6d07471031a2c (diff) | |
download | rails-5ce25aecee062c11fc0186ae2df625ba3f013a46.tar.gz rails-5ce25aecee062c11fc0186ae2df625ba3f013a46.tar.bz2 rails-5ce25aecee062c11fc0186ae2df625ba3f013a46.zip |
Merge branch 'configuration_refactor'
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/ordered_options.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb index 596a7b757d..61ccb79211 100644 --- a/activesupport/lib/active_support/ordered_options.rb +++ b/activesupport/lib/active_support/ordered_options.rb @@ -18,4 +18,10 @@ module ActiveSupport #:nodoc: end end end + + class InheritableOptions < OrderedOptions + def initialize(parent) + super() { |h,k| parent[k] } + end + end end |