aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class/attribute.rb
diff options
context:
space:
mode:
authorPaco Guzman <fjguzman@aspgems.com>2010-08-12 17:09:58 +0200
committerPaco Guzman <fjguzman@aspgems.com>2010-08-12 17:09:58 +0200
commit8a2b69b7273379f3c9f68ff7903b653801951ac3 (patch)
treed040890da223ef4317981377e83143b7a6934992 /activesupport/lib/active_support/core_ext/class/attribute.rb
parent599c50583784537eec454f5e91dac89f88e54da3 (diff)
downloadrails-8a2b69b7273379f3c9f68ff7903b653801951ac3.tar.gz
rails-8a2b69b7273379f3c9f68ff7903b653801951ac3.tar.bz2
rails-8a2b69b7273379f3c9f68ff7903b653801951ac3.zip
applied guidelines to "# =>"
Diffstat (limited to 'activesupport/lib/active_support/core_ext/class/attribute.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/class/attribute.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/attribute.rb b/activesupport/lib/active_support/core_ext/class/attribute.rb
index bfa57fe1f7..79d5c40e5f 100644
--- a/activesupport/lib/active_support/core_ext/class/attribute.rb
+++ b/activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -29,19 +29,19 @@ class Class
# In such cases, you don't want to do changes in places but use setters:
#
# Base.setting = []
- # Base.setting #=> []
- # Subclass.setting #=> []
+ # Base.setting # => []
+ # Subclass.setting # => []
#
# # Appending in child changes both parent and child because it is the same object:
# Subclass.setting << :foo
- # Base.setting #=> [:foo]
- # Subclass.setting #=> [:foo]
+ # Base.setting # => [:foo]
+ # Subclass.setting # => [:foo]
#
# # Use setters to not propagate changes:
# Base.setting = []
# Subclass.setting += [:foo]
- # Base.setting #=> []
- # Subclass.setting #=> [:foo]
+ # Base.setting # => []
+ # Subclass.setting # => [:foo]
#
# For convenience, a query method is defined as well:
#