aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-15 11:19:44 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-15 11:19:44 -0800
commit108171a44e7c4f762ec7a1db99b1e3e8b87744df (patch)
treeef423b43d2ba22f4a4999fda484386403e46c721 /activesupport
parent89c46aaaabc09610c440022ea625a0e05215d5ef (diff)
parentc758093eca303704f52b45fd0660e13600b9b315 (diff)
downloadrails-108171a44e7c4f762ec7a1db99b1e3e8b87744df.tar.gz
rails-108171a44e7c4f762ec7a1db99b1e3e8b87744df.tar.bz2
rails-108171a44e7c4f762ec7a1db99b1e3e8b87744df.zip
Merge pull request #13307 from akshay-vishnoi/typo
Spelling and Grammar check [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors.rb4
1 files changed, 2 insertions, 2 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 f70a839074..d317df5079 100644
--- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
+++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
@@ -49,7 +49,7 @@ class Module
# include HairColors
# end
#
- # Person.hair_colors # => [:brown, :black, :blonde, :red] + #
+ # Person.hair_colors # => [:brown, :black, :blonde, :red]
def mattr_reader(*syms)
options = syms.extract_options!
syms.each do |sym|
@@ -181,7 +181,7 @@ class Module
# Or pass <tt>instance_accessor: false</tt>, to opt out both instance methods.
#
# module HairColors
- # mattr_accessor :hair_colors, instance_acessor: false
+ # mattr_accessor :hair_colors, instance_accessor: false
# end
#
# class Person