mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	tool/insns2vm.rb: get rid of expanding paths
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									88a7271de4
								
							
						
					
					
						commit
						3c83a94ea9
					
				
					 4 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,7 @@ require_relative '../controllers/application_controller.rb'
 | 
			
		|||
 | 
			
		||||
module RubyVM::Insns2VM
 | 
			
		||||
  def self.router argv
 | 
			
		||||
    options = { destdir: Dir.getwd }
 | 
			
		||||
    options = { destdir: nil }
 | 
			
		||||
    targets = generate_parser(options).parse argv
 | 
			
		||||
    return targets.map do |i|
 | 
			
		||||
      next ApplicationController.new.generate i, options[:destdir]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue