Update class_methods.rb

collection_reader_method is deprecated in 3.1. What do?