░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/ruby2ruby-2.5.0/bin
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: r2r_show
#!/usr/bin/ruby -ws require 'rubygems' require 'ruby2ruby' require 'ruby_parser' $h ||= false $s ||= false if $h then puts "usage: #{File.basename $0} [options] [file...]" puts "options:" puts "-h : display usage" puts "-s : print the sexp before displaying the translated ruby" exit 1 end ARGV.push "-" if ARGV.empty? parser = RubyParser.new ruby2ruby = Ruby2Ruby.new ARGV.each do |file| ruby = file == "-" ? $stdin.read : File.read(file) sexp = parser.process(ruby, file) p sexp if $s puts ruby2ruby.process(sexp) end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 r2r_show
?
559 B
2023-09-24 03:48
EDIT