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 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_valueTD::Types::String

Value for few objects.

Returns:

  • (TD::Types::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_valueTD::Types::String

Value for many objects.

Returns:

  • (TD::Types::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_valueTD::Types::String

Value for one object.

Returns:

  • (TD::Types::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_valueTD::Types::String

Default value.

Returns:

  • (TD::Types::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_valueTD::Types::String

Value for two objects.

Returns:

  • (TD::Types::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_valueTD::Types::String

Value for zero objects.

Returns:

  • (TD::Types::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