Permalink
Browse files

Fix grammar of internal comment and modify it's location

  • Loading branch information...
1 parent 2fdbd59 commit dbe3345c4f84f603b8a6d121229d1cc9f5d3be8c @zzak zzak committed Feb 9, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 activesupport/lib/active_support/core_ext/module/attr_internal.rb
@@ -27,7 +27,8 @@ def attr_internal_ivar_name(attr)
def attr_internal_define(attr_name, type)
internal_name = attr_internal_ivar_name(attr_name).sub(/\A@/, '')
- class_eval do # class_eval is necessary on 1.9 or else the methods a made private
+ # class_eval is necessary on 1.9 or else the methods are made private
+ class_eval do
# use native attr_* methods as they are faster on some Ruby implementations
send("attr_#{type}", internal_name)
end

0 comments on commit dbe3345

Please sign in to comment.