Sha256: e4e20a819fbd65bab8149e96abe4fdb77b7d737a3b947331207a2838f26ca732
Contents?: true
Size: 559 Bytes
Versions: 12
Compression:
Stored size: 559 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 # resolve bin path, ignoring symlinks require "pathname" bin_file = Pathname.new(__FILE__).realpath # add self to libpath $:.unshift File.expand_path("../../lib", bin_file) require "bundler/setup" require "stepmod/utils/smrl_resource_converter" ReverseAdoc.config.unknown_tags = :bypass input_content = ARGF.read result = Stepmod::Utils::SmrlResourceConverter.convert(input_content, {}) result.split("\n").each do |line| begin $stdout.puts(line) $stdout.flush rescue Errno::EPIPE exit(74) end end
Version data entries
12 entries across 12 versions & 1 rubygems