mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* tool/generic_erb.rb: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									42e0d76c25
								
							
						
					
					
						commit
						dc960b8729
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -10,8 +10,8 @@ opt = OptionParser.new do |o| | |||
|   o.on('-o', '--output=PATH') {|v| output = v} | ||||
|   o.on('-c', '--[no-]if-change') {|v| ifchange = v} | ||||
|   o.order!(ARGV) | ||||
| end or abort opt.opt_s | ||||
| template = ARGV.shift | ||||
| end | ||||
| template = ARGV.shift or abort opt.to_s | ||||
| erb = ERB.new(File.read(template), nil, '%') | ||||
| erb.filename = template | ||||
| result = erb.result | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu