Sha256: 771ca16e99e3f8e208be4d19c1b756c24742684acb501af3184452d1f9695e0a

Contents?: true

Size: 661 Bytes

Versions: 56

Compression:

Stored size: 661 Bytes

Contents

# encoding: utf-8
module FeduxOrgStdlib
  class ShellLanguageDetector
    # The detected langauge
    class Language
      # @!attribute [r] language_code
      #   The language code, e.g de_DE.utf-8 => de
      #
      # @!attribute [r] country_code
      #   The country code, e.g de_DE.utf-8 => DE
      #
      # @!attribute [r] encoding
      #   The country code, e.g de_DE.utf-8 => utf-8
      attr_reader :language_code, :country_code, :encoding

      def initialize(language_code:, country_code:, encoding: nil)
        @language_code = language_code
        @country_code  = country_code
        @encoding      = encoding
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.8.6 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.8.5 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.8.4 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.8.3 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.8.0 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.33 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.31 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.30 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.29 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.28 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.27 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.26 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.25 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.24 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.23 lib/fedux_org_stdlib/shell_language_detector/language.rb
fedux_org-stdlib-0.7.22 lib/fedux_org_stdlib/shell_language_detector/language.rb