1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/prelude.rb
duerst 824670aa9e enc/prelude.rb: Added automatic loading of lib/unicode_normalize.rb. This makes sure that all
the methods that are available on String are available without explicit require.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-19 09:39:41 +00:00

7 lines
136 B
Ruby

%w'enc/encdb.so enc/trans/transdb.so'.each do |init|
begin
require(init)
rescue LoadError
end
end
require 'unicode_normalize'