mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 c8e5796f61
			
		
	
	
		c8e5796f61
		
	
	
	
	
		
			
			which is only used by #router. To make it private, we need to stop defining them on top-level. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			321 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
| #!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__
 | |
|   RubyVM::Insns2VM.router(ARGV).each do |(path, generator)|
 | |
|     str = generator.generate path
 | |
|     path.open 'wb:utf-8' do |fp|
 | |
|       fp.write str
 | |
|     end
 | |
|   end
 | |
| end
 |