1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/insns2vm.rb

16 lines
304 B
Ruby
Raw Normal View History

#!ruby
# This is used by Makefile.in to generate .inc files.
# See Makefile.in for details.
require_relative 'ruby_vm/scripts/insns2vm'
if $0 == __FILE__
router(ARGV).each do |(path, generator)|
str = generator.generate path
path.open 'wb:utf-8' do |fp|
fp.write str
end
end
end