aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/configurable.rb
diff options
context:
space:
mode:
authorthedarkone <thedarkone2@gmail.com>2010-09-27 14:51:31 +0200
committerthedarkone <thedarkone2@gmail.com>2010-09-27 17:45:58 +0200
commit8cda132136a766621b4c976cb1df7007d12ee6b5 (patch)
tree9e97c9f06d00e74b0a9adfda259328235c062057 /activesupport/lib/active_support/configurable.rb
parent918dc27345319fbabf25a43bd65b613878b3a66e (diff)
downloadrails-8cda132136a766621b4c976cb1df7007d12ee6b5.tar.gz
rails-8cda132136a766621b4c976cb1df7007d12ee6b5.tar.bz2
rails-8cda132136a766621b4c976cb1df7007d12ee6b5.zip
Make InheritableOptions's constructor more flexible.
Diffstat (limited to 'activesupport/lib/active_support/configurable.rb')
-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 36634bd7f3..3d91560833 100644
--- a/activesupport/lib/active_support/configurable.rb
+++ b/activesupport/lib/active_support/configurable.rb
@@ -30,7 +30,7 @@ module ActiveSupport
superclass.config.inheritable_copy
else
# create a new "anonymous" class that will host the compiled reader methods
- Class.new(Configuration).new({})
+ Class.new(Configuration).new
end
end