diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-08-06 15:51:52 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-08-06 15:51:52 -0400 |
commit | fc01adee79cd38069d89c2e457be99911e2a0ea3 (patch) | |
tree | 764a12c5c64cb63c25d6323249584b82157911d0 /activesupport/lib | |
parent | 74dde5951af9f7cbea080087c49f2654e619a0fd (diff) | |
download | rails-fc01adee79cd38069d89c2e457be99911e2a0ea3.tar.gz rails-fc01adee79cd38069d89c2e457be99911e2a0ea3.tar.bz2 rails-fc01adee79cd38069d89c2e457be99911e2a0ea3.zip |
correcting wrong example
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb b/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb index d7a30cf123..e844cf50d1 100644 --- a/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +++ b/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb @@ -29,7 +29,7 @@ end # To opt out of the instance reader method, pass :instance_reader => false. # # class Person -# cattr_accessor :hair_colors :instance_writer => false, :instance_reader => false +# class_inheritable_accessor :hair_colors :instance_writer => false, :instance_reader => false # end # # Person.new.hair_colors = [:brown] # => NoMethodError |