This file is indexed.

/usr/lib/ruby/vendor_ruby/i18n/locale/tag.rb is in ruby-i18n 0.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# encoding: utf-8

module I18n
  module Locale
    module Tag
      autoload :Parents, 'i18n/locale/tag/parents'
      autoload :Rfc4646, 'i18n/locale/tag/rfc4646'
      autoload :Simple,  'i18n/locale/tag/simple'

      class << self
        # Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+.
        def implementation
          @@implementation ||= Simple
        end

        # Sets the current locale tag implementation. Use this to set a different locale tag implementation.
        def implementation=(implementation)
          @@implementation = implementation
        end

        # Factory method for locale tags. Delegates to the current locale tag implementation.
        def tag(tag)
          implementation.tag(tag)
        end
      end
    end
  end
end