Sha256: ffd8c6f2ff484070d64cc67db296a97dd8b3cbc908600e41b573c0390d2fac6f

Contents?: true

Size: 179 Bytes

Versions: 3

Compression:

Stored size: 179 Bytes

Contents

# frozen_string_literal: true

require 'stringio' unless defined? StringIO

class String
  unless method_defined? :to_ios
    def to_ios
      StringIO.new self
    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/string.rb
asciidoctor-epub3-2.0.1 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-2.0.0 lib/asciidoctor-epub3/ext/core/string.rb