Sha256: 1d62a0c4ac4450ada3639d5e1abb8b6bc1cf5feafe56040e6951f30637be18c4
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
# frozen_string_literal: true File.singleton_class.prepend (Module.new do # NOTE: JRuby < 9.4 doesn't implement this method; JRuby 9.4 implements it incorrectly def absolute_path? path (::Pathname.new path).absolute? && !(%r/\A[[:alpha:]][[:alnum:]\-+]*:\/\/\S/.match? path) end end) if RUBY_ENGINE == 'jruby'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-pdf-2.3.6 | lib/asciidoctor/pdf/ext/core/file.rb |