Sha256: db251c352e30706b43f5ef6e791a4355679f21d8ab33ad47dc7c9330a548d99b

Contents?: true

Size: 238 Bytes

Versions: 3

Compression:

Stored size: 238 Bytes

Contents

if RUBY_VERSION < '1.9'
  $KCODE = 'U'
  def ruby_18; yield; end
  def ruby_19; false; end
else
  def ruby_18; false; end
  def ruby_19; yield; end
end

if RUBY_PLATFORM =~ /java/i
  def jruby; yield; end
else
  def jruby; false; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
citeproc-js-0.0.8 lib/citeproc/js/compatibility.rb
citeproc-js-0.0.6 lib/citeproc/js/compatibility.rb
citeproc-js-0.0.2 lib/citeproc/js/compatibility.rb