correcting wrong example

This commit is contained in:
Neeraj Singh
2010-08-06 15:51:52 -04:00
committed by Xavier Noria
parent 4b18d3c210
commit d55491c844

View File

@@ -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