Sha256: 501807f31f11d34e5a0cfd267e24a86baca5f71203e95e697d6e95bf2be39379

Contents?: true

Size: 165 Bytes

Versions: 12

Compression:

Stored size: 165 Bytes

Contents

# frozen_string_literal: true

require 'stringio' unless defined? StringIO

class String
  def to_ios
    StringIO.new self
  end unless method_defined? :to_ios
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
asciidoctor-epub3-1.5.1 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.19 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.18 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.17 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.16 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.15 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.14 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.13 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.12 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.11 lib/asciidoctor-epub3/ext/core/string.rb
asciidoctor-epub3-1.5.0.alpha.10 lib/asciidoctor-epub3/core_ext/string.rb