diff options
author | suchasurge <frank@heidjer.info> | 2011-03-06 10:26:24 +0100 |
---|---|---|
committer | suchasurge <frank@heidjer.info> | 2011-03-06 10:26:24 +0100 |
commit | 9b96de6f3dfa31695c2fc27919e2989a98f6899d (patch) | |
tree | 4e3b9d6124af835355d7078de54c29921f392d3c /activesupport/lib/active_support/configurable.rb | |
parent | ac59a2a1d67aca74895ceddbc709a467c572144b (diff) | |
download | rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.tar.gz rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.tar.bz2 rails-9b96de6f3dfa31695c2fc27919e2989a98f6899d.zip |
Some style changes
Diffstat (limited to 'activesupport/lib/active_support/configurable.rb')
-rw-r--r-- | activesupport/lib/active_support/configurable.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/configurable.rb b/activesupport/lib/active_support/configurable.rb index be19189c04..7bac3dbc91 100644 --- a/activesupport/lib/active_support/configurable.rb +++ b/activesupport/lib/active_support/configurable.rb @@ -41,6 +41,9 @@ module ActiveSupport # Allows you to add shortcut so that you don't have to refer to attribute through config. # Also look at the example for config to contrast. # + # + # ==== Example + # # class User # include ActiveSupport::Configurable # config_accessor :allowed_access @@ -65,6 +68,9 @@ module ActiveSupport # Reads and writes attributes from a configuration <tt>OrderedHash</tt>. # + # + # ==== Example + # # require 'active_support/configurable' # # class User |