[feature request] accept block for default value on attr_accessor

I noticed cattr_accessor accepts a block and think it would be nice to have for the other accessor/reader methods. Can work on a PR if there's interest.

attr_accessor is a Ruby method written in C. cattr_accessor is the ActiveSupport method written in Ruby. You may want to discuss attr_accessor in the Ruby issue tracker, not in Rails.

Alright, will do. Thought it would be a good lang feature but brought it up here since I primarily use Rails & historically it hasn't shied away from extending core functionality.