Sha256: 309963269e1314678f659bcda31eb889e2c02917e9b19996460503bacc1ab47b
Contents?: true
Size: 314 Bytes
Versions: 3
Compression:
Stored size: 314 Bytes
Contents
#!/usr/bin/env ruby require 'pty' c_dir = File.dirname(__FILE__) MRUBY_ROOT = File.expand_path("#{c_dir}/../..") DOC_DIR = File.expand_path(c_dir) cmd = "ruby #{DOC_DIR}/mrbdoc/mrbdoc.rb #{MRUBY_ROOT} #{DOC_DIR} false" IO.popen(cmd, "r+") do |io| io.close_write while line = io.gets puts line end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webruby-0.9.3 | modules/mruby/doc/language/generator.rb |
webruby-0.9.2 | modules/mruby/doc/language/generator.rb |
webruby-0.9.1 | modules/mruby/doc/language/generator.rb |