# File lib/asciidoctor/cli/options.rb, line 243 def print_version os = $stdout os.puts %(Asciidoctor #{::Asciidoctor::VERSION} [http://asciidoctor.org]) if RUBY_VERSION >= '1.9.3' encoding_info = {'lc' => 'locale', 'fs' => 'filesystem', 'in' => 'internal', 'ex' => 'external'}.map do |k,v| %(#{k}:#{Encoding.find(v) || '-'}) end os.puts %(Runtime Environment (#{RUBY_DESCRIPTION}) (#{encoding_info * ' '})) else os.puts %(Runtime Environment (#{RUBY_DESCRIPTION})) end 0 end