Skip to content
Browse files

removing out of date comment. ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ @pixeltrix

  • Loading branch information...
1 parent ed9e3f6 commit 7169e4c71572cb96fa01317edf7b6c8ba9565f8e @tenderlove tenderlove committed Mar 12, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 activesupport/lib/active_support/core_ext/class/attribute.rb
View
3 activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -73,9 +73,6 @@ def class_attribute(*attrs)
instance_reader = instance_reader = options.fetch(:instance_accessor, true) && options.fetch(:instance_reader, true)
instance_writer = options.fetch(:instance_accessor, true) && options.fetch(:instance_writer, true)
- # We use class_eval here rather than define_method because class_attribute
- # may be used in a performance sensitive context therefore the overhead that
- # define_method introduces may become significant.
attrs.each do |name|
define_singleton_method(name) { nil }
define_singleton_method("#{name}?") { !!public_send(name) }

3 comments on commit 7169e4c

@sikachu
Ruby on Rails member

This commit message breaks GitHub styling :trollface:

Screen Shot 2013-03-12 at 10 04 32 PM

@sadjow
sadjow commented on 7169e4c Mar 14, 2013

Could only be Tenderlove

@jtigger

rubylicious.

Please sign in to comment.
Something went wrong with that request. Please try again.