1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/digest/bubblebabble/lib/bubblebabble.rb
2021-10-12 20:46:13 +09:00

9 lines
180 B
Ruby

# frozen_string_literal: false
require 'digest'
if RUBY_ENGINE == 'jruby'
JRuby::Util.load_ext("org.jruby.ext.digest.BubbleBabble")
else
require 'digest/bubblebabble.so'
end