aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-12-17 16:34:05 -0800
committerclaudiob <claudiob@gmail.com>2014-12-17 16:44:51 -0800
commit23c8f6918d4e6b9a823aa7a91377c6e3b5d60e13 (patch)
treeee02dd33238715269f8e0139d611a88df4d520df /activesupport/lib/active_support/core_ext/module
parent78789b7acd566562b58e73a7d4f1a11163370f32 (diff)
downloadrails-23c8f6918d4e6b9a823aa7a91377c6e3b5d60e13.tar.gz
rails-23c8f6918d4e6b9a823aa7a91377c6e3b5d60e13.tar.bz2
rails-23c8f6918d4e6b9a823aa7a91377c6e3b5d60e13.zip
Replace `#=>` with `# =>` [ci skip]
@rafaelfranca suggested in f7c7bcd9 that code examples should display the result after `# =>` and not after `#=>`. This commit replaces *all* the occurrences of `#=>` in the code documentation (mostly added by me :sob:) with the suggested `# =>`.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
index d317df5079..d4e6b5a1ac 100644
--- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
+++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
@@ -203,7 +203,7 @@ class Module
# include HairColors
# end
#
- # Person.class_variable_get("@@hair_colors") #=> [:brown, :black, :blonde, :red]
+ # Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red]
def mattr_accessor(*syms, &blk)
mattr_reader(*syms, &blk)
mattr_writer(*syms, &blk)