aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/configurable.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-03-07 20:58:54 +0000
committerJon Leighton <j@jonathanleighton.com>2011-03-07 20:58:54 +0000
commit67b17d029a8eeddd908cce2d4e0e27e4708e8463 (patch)
tree4cd589411104f7222835dd5012f4bb7743e1d215 /activesupport/lib/active_support/configurable.rb
parentbb063b2f1b3e5b6fb2a4732cb696929f1652c555 (diff)
parent5968d7a65886d3450698889f685eccaf54749f43 (diff)
downloadrails-67b17d029a8eeddd908cce2d4e0e27e4708e8463.tar.gz
rails-67b17d029a8eeddd908cce2d4e0e27e4708e8463.tar.bz2
rails-67b17d029a8eeddd908cce2d4e0e27e4708e8463.zip
Merge branch 'master' into nested_has_many_through
Diffstat (limited to 'activesupport/lib/active_support/configurable.rb')
-rw-r--r--activesupport/lib/active_support/configurable.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/configurable.rb b/activesupport/lib/active_support/configurable.rb
index be19189c04..8c56a21ef7 100644
--- a/activesupport/lib/active_support/configurable.rb
+++ b/activesupport/lib/active_support/configurable.rb
@@ -64,21 +64,21 @@ module ActiveSupport
end
# Reads and writes attributes from a configuration <tt>OrderedHash</tt>.
- #
- # require 'active_support/configurable'
- #
+ #
+ # require 'active_support/configurable'
+ #
# class User
# include ActiveSupport::Configurable
- # end
+ # end
#
# user = User.new
- #
+ #
# user.config.allowed_access = true
# user.config.level = 1
#
# user.config.allowed_access # => true
# user.config.level # => 1
- #
+ #
def config
@_config ||= self.class.config.inheritable_copy
end