| 
									
										
										
										
											2017-02-11 16:37:41 -08:00
										 |  |  | #:  * `formula` <formula>: | 
					
						
							|  |  |  | #:    Display the path where <formula> is | 
					
						
							| 
									
										
										
										
											2017-02-07 23:25:02 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | require "formula" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Homebrew | 
					
						
							|  |  |  |   module_function | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-08 00:12:50 -08:00
										 |  |  |   def formula | 
					
						
							| 
									
										
										
										
											2017-02-07 23:25:02 -08:00
										 |  |  |     raise FormulaUnspecifiedError if ARGV.named.empty? | 
					
						
							| 
									
										
										
										
											2017-02-11 16:37:41 -08:00
										 |  |  |     ARGV.resolved_formulae.each { |f| puts f.path } | 
					
						
							| 
									
										
										
										
											2017-02-07 23:25:02 -08:00
										 |  |  |   end | 
					
						
							|  |  |  | end |