diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-16 00:44:37 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-16 00:44:37 +0530 |
commit | c758093eca303704f52b45fd0660e13600b9b315 (patch) | |
tree | 09f992d391376c6821abd7e930c7aabb6007143c /activesupport | |
parent | 5fccd77b6c71e26fcbf879657c1f532999171900 (diff) | |
download | rails-c758093eca303704f52b45fd0660e13600b9b315.tar.gz rails-c758093eca303704f52b45fd0660e13600b9b315.tar.bz2 rails-c758093eca303704f52b45fd0660e13600b9b315.zip |
Spelling and Grammar check [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | 4 |
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 |