Sha256: 07dcaddccb946fcb6aeebf8c9a7e6bdc57c041471db19cba39eb6e75f22fd759

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

class File
  # NOTE: remove once minimum required Ruby version is at least 2.7
  unless respond_to? :absolute_path?
    def self.absolute_path?(path)
      Pathname.new(path).absolute?
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-epub3-2.1.0 lib/asciidoctor-epub3/ext/core/file.rb
asciidoctor-epub3-2.0.1 lib/asciidoctor-epub3/ext/core/file.rb
asciidoctor-epub3-2.0.0 lib/asciidoctor-epub3/ext/core/file.rb