| 
									
										
										
										
											2020-11-20 14:20:38 +01:00
										 |  |  | # typed: strict | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module EnvMethods | 
					
						
							|  |  |  |   include Kernel | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(key: String).returns(T::Boolean) } | 
					
						
							|  |  |  |   def key?(key); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(key: String).returns(T.nilable(String)) } | 
					
						
							|  |  |  |   def [](key); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(key: String).returns(String) } | 
					
						
							|  |  |  |   def fetch(key); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(key: String, value: T.nilable(T.any(String, PATH))).returns(T.nilable(String)) } | 
					
						
							|  |  |  |   def []=(key, value); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(block: T.proc.params(arg0: [String, String]).returns(T::Boolean)).returns(T::Hash[String, String]) } | 
					
						
							|  |  |  |   def select(&block); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(block: T.proc.params(arg0: String).void).void } | 
					
						
							|  |  |  |   def each_key(&block); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { params(key: String).returns(T.nilable(String)) } | 
					
						
							|  |  |  |   def delete(key); end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-17 22:45:55 -08:00
										 |  |  |   sig { | 
					
						
							| 
									
										
										
										
											2020-11-20 14:20:38 +01:00
										 |  |  |     params(other: T.any(T::Hash[String, String], Sorbet::Private::Static::ENVClass)) | 
					
						
							|  |  |  |       .returns(Sorbet::Private::Static::ENVClass) | 
					
						
							| 
									
										
										
										
											2021-01-17 22:45:55 -08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-11-20 14:20:38 +01:00
										 |  |  |   def replace(other); end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   sig { returns(T::Hash[String, String]) } | 
					
						
							|  |  |  |   def to_hash; end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module EnvActivation | 
					
						
							|  |  |  |   include EnvMethods | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Sorbet | 
					
						
							|  |  |  |   module Private | 
					
						
							|  |  |  |     module Static | 
					
						
							|  |  |  |       class ENVClass | 
					
						
							|  |  |  |         include EnvActivation | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |