lib/utf8_proc.rb in utf8_proc-0.2.3 vs lib/utf8_proc.rb in utf8_proc-0.3.0

- old
+ new

@@ -1,6 +1,11 @@ # frozen_string_literal: true require "utf8_proc/version" -require "utf8_proc/utf8_proc" module UTF8Proc + if defined?(JRUBY_VERSION) + require "utf8_proc/jruby" + include JRuby + else + require "utf8_proc/utf8_proc" + end end