Added clear_anonymous_os_prefix_ci_cache
This commit is contained in:
		
							parent
							
								
									59f3c661a3
								
							
						
					
					
						commit
						413d35b82f
					
				@ -3,6 +3,10 @@ require "erb"
 | 
			
		||||
module Utils
 | 
			
		||||
  module Analytics
 | 
			
		||||
    class << self
 | 
			
		||||
      def clear_anonymous_os_prefix_ci_cache
 | 
			
		||||
        remove_instance_variable(:@anonymous_os_prefix_ci) if instance_variable_defined?(:@anonymous_os_prefix_ci)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def os_prefix_ci
 | 
			
		||||
        @anonymous_os_prefix_ci ||= begin
 | 
			
		||||
          os = OS_VERSION
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user