"Fossies" - the Fresh Open Source Software Archive

Member "asciidoctor-2.0.10/test/fixtures/configure-stdin.rb" (1 Jun 2019, 223 Bytes) of package /linux/www/asciidoctor-2.0.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 require 'stringio'
    2 io = StringIO.new String.new %(é\n\n#{Encoding.default_external}:#{Encoding.default_internal}), encoding: Encoding::UTF_8
    3 io.set_encoding Encoding.default_external, Encoding.default_internal
    4 $stdin = io