Class: TD::Types::LanguagePackStringValue::Pluralized

Inherits:
TD::Types::LanguagePackStringValue show all
Defined in:
lib/tdlib/types/language_pack_string_value/pluralized.rb

Overview

A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#few_valueString

Value for few objects.

Returns:

  • (String)

    the current value of few_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def few_value
  @few_value
end

#many_valueString

Value for many objects.

Returns:

  • (String)

    the current value of many_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def many_value
  @many_value
end

#one_valueString

Value for one object.

Returns:

  • (String)

    the current value of one_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def one_value
  @one_value
end

#other_valueString

Default value.

Returns:

  • (String)

    the current value of other_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def other_value
  @other_value
end

#two_valueString

Value for two objects.

Returns:

  • (String)

    the current value of two_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def two_value
  @two_value
end

#zero_valueString

Value for zero objects.

Returns:

  • (String)

    the current value of zero_value



11
12
13
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11

def zero_value
  @zero_value
end