Sha256: 554a663857ab8f15055590d11dd90acaf3443c9401b9cc8f7ffe28920526158f
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
Ruby.require("uri"); Ruby.require("open-uri"); this.load = this.load || function load() { for (var i = 0; i < arguments.length; ++i) Johnson.require(arguments[i]); }; this.print = this.print || function print() { for (var i = 0; i < arguments.length; ++i) Ruby.puts(arguments[i]); }; // NOTE: the Rhino version takes an optional encoding this.readfile = this.readfile || function readFile(path) { return Ruby.IO.read(path); } // NOTE: the Rhino version takes an optional encoding this.readUrl = this.readUrl || function readUrl(url) { return Ruby.URI.parse(url).read(); } this.quit = this.quit || function quit() { Ruby.exit(); } this.verison = this.verison || function version() { return Ruby.Johnson.VERSION; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
johnson19-2.0.0.pre3 | lib/johnson/js/cli.js |