Sha256: 8fa33fef8d4b96cd4140a966e7914e7bc3d1e68e24712dcdf298c2e068d0d63c
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.push File.expand_path("../../", __FILE__) require 'rgreek' include RGreek def respond(msg) if ARGV.length < 2 puts msg exit 1 end ARGV.shift puts yield ARGV exit 0 end case ARGV[0] when "convert" respond("please input the unicode text you would like transcoded") do |args| Transcoder.convert(args.join) end else puts "choose a command: convert or parse" exit 1 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rgreek-0.1.0 | lib/ui/rgreek |