HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.7.4/gems/tzinfo-2.0.4/lib/tzinfo/untaint_ext.rb
# encoding: UTF-8
# frozen_string_literal: true

module TZInfo
  # Object#untaint is deprecated in Ruby >= 2.7 and will be removed in 3.2.
  # UntaintExt adds a refinement to make Object#untaint a no-op and avoid the
  # warning.
  #
  # @private
  module UntaintExt # :nodoc:
    refine Object do
      def untaint
        self
      end
    end
  end
  private_constant :UntaintExt
end