class FeduxOrgStdlib::ShellLanguageDetector::Language

The detected langauge

Attributes

country_code[R]

@!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
encoding[R]

@!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
language_code[R]

@!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

Public Class Methods

new(language_code:, country_code:, encoding: nil) click to toggle source
# File lib/fedux_org_stdlib/shell_language_detector/language.rb, line 16
def initialize(language_code:, country_code:, encoding: nil)
  @language_code = language_code
  @country_code  = country_code
  @encoding      = encoding
end