service: provide formula accessor.
Use `f` because it's generally recognised as a formula and this shouldn't be widely needed/used.
This commit is contained in:
		
							parent
							
								
									5047d4249e
								
							
						
					
					
						commit
						59692b5bf4
					
				@ -28,6 +28,11 @@ module Homebrew
 | 
			
		||||
      @service_block = block
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    sig { returns(Formula) }
 | 
			
		||||
    def f
 | 
			
		||||
      @formula
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    sig { params(command: T.nilable(T.any(T::Array[String], String, Pathname))).returns(T.nilable(Array)) }
 | 
			
		||||
    def run(command = nil)
 | 
			
		||||
      case T.unsafe(command)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user