| 
									
										
										
										
											2024-07-14 16:18:26 -04:00
										 |  |  | # typed: strict | 
					
						
							|  |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require "abstract_command" | 
					
						
							| 
									
										
										
										
											2024-07-15 11:39:56 -04:00
										 |  |  | require "shell_command" | 
					
						
							| 
									
										
										
										
											2024-07-14 16:18:26 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | module Homebrew | 
					
						
							|  |  |  |   module Cmd | 
					
						
							|  |  |  |     class SetupRuby < AbstractCommand | 
					
						
							| 
									
										
										
										
											2024-07-15 11:39:56 -04:00
										 |  |  |       include ShellCommand | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-14 16:18:26 -04:00
										 |  |  |       cmd_args do | 
					
						
							|  |  |  |         description <<~EOS | 
					
						
							|  |  |  |           Installs and configures Homebrew's Ruby. If `command` is passed, it will only run Bundler if necessary for that command. | 
					
						
							|  |  |  |         EOS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         named_args :command | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |