Sha256: 5f31d1198b810081c81ad466e9260ae7a3fd9a8b32241a23a7a263ebdf5a5a30

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

require_relative 'parser'
require_relative 'mathml'

module Asciimath
  module CLI
    def self.run(args)
      asciimath = args.last
      mathml = Asciimath.parse(asciimath).to_mathml
      puts mathml
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciimath-1.0.0.preview.1 lib/asciimath/cli.rb