Sha256: f6fa3d0a87cbfb18f66bd79ffcbeb0a89ddaabcb8e3249d0fa8dd782f75affe1

Contents?: true

Size: 543 Bytes

Versions: 7

Compression:

Stored size: 543 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_description_converter"

ReverseAdoc.config.unknown_tags = :bypass

input_content = ARGF.read

result = Stepmod::Utils::SmrlDescriptionConverter.convert(input_content, {})
result.split("\n").each do |line|
  $stdout.puts(line)
  $stdout.flush
rescue Errno::EPIPE
  exit(74)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stepmod-utils-0.6.6 exe/stepmod-convert-express-description
stepmod-utils-0.6.5 exe/stepmod-convert-express-description
stepmod-utils-0.6.3 exe/stepmod-convert-express-description
stepmod-utils-0.6.2 exe/stepmod-convert-express-description
stepmod-utils-0.6.1 exe/stepmod-convert-express-description
stepmod-utils-0.6.0 exe/stepmod-convert-express-description
stepmod-utils-0.5.0 exe/stepmod-convert-express-description