Sha256: 1d440210eb5f3095eee7de134be91bb16c85e4cbf28ed8eba0d1478dd9a0bef4
Contents?: true
Size: 383 Bytes
Versions: 18
Compression:
Stored size: 383 Bytes
Contents
#!/usr/bin/env ruby require 'rubytext' # Remember: Specify STDOUT as needed! path = RubyText::Path cmd = ARGV.first case cmd when nil STDOUT.puts "Usage: rubytext [demo|slides]" when "demo" system("ruby #{path}/../examples/demo.rb") when "slides" system("#{path}/../examples/slides") when "tutorial" system("open #{path}/../tutorial/tutorial.html") end
Version data entries
18 entries across 18 versions & 1 rubygems