aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte/unicode_database.rb
diff options
context:
space:
mode:
authorMichael S. Klishin <michael@novemberain.com>2008-12-28 22:05:27 +0300
committerMichael S. Klishin <michael@novemberain.com>2008-12-28 22:05:43 +0300
commit12bff2af4081c25682d0466b1d7380b702c27417 (patch)
tree50f12abeb5dc70f4a847e8a960e2a60ee026ad97 /activesupport/lib/active_support/multibyte/unicode_database.rb
parent89e98955c79b39ec408efb39cde07d6f14997183 (diff)
parentd77deb89d54b18c662ae3de103802e4d7a9d7d08 (diff)
downloadrails-12bff2af4081c25682d0466b1d7380b702c27417.tar.gz
rails-12bff2af4081c25682d0466b1d7380b702c27417.tar.bz2
rails-12bff2af4081c25682d0466b1d7380b702c27417.zip
Sync with wycats/rails/master
Diffstat (limited to 'activesupport/lib/active_support/multibyte/unicode_database.rb')
-rw-r--r--activesupport/lib/active_support/multibyte/unicode_database.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/multibyte/unicode_database.rb b/activesupport/lib/active_support/multibyte/unicode_database.rb
index 3b8cf8f9eb..074ad8613a 100644
--- a/activesupport/lib/active_support/multibyte/unicode_database.rb
+++ b/activesupport/lib/active_support/multibyte/unicode_database.rb
@@ -23,11 +23,11 @@ module ActiveSupport #:nodoc:
# Lazy load the Unicode database so it's only loaded when it's actually used
ATTRIBUTES.each do |attr_name|
- class_eval(<<-EOS, __FILE__, __LINE__)
- def #{attr_name}
- load
- @#{attr_name}
- end
+ class_eval(<<-EOS, __FILE__, __LINE__ + 1)
+ def #{attr_name} # def codepoints
+ load # load
+ @#{attr_name} # @codepoints
+ end # end
EOS
end