Class: TD::Types::LanguagePackStringValue::Pluralized
- Inherits:
-
TD::Types::LanguagePackStringValue
- Object
- Dry::Struct
- Base
- TD::Types::LanguagePackStringValue
- TD::Types::LanguagePackStringValue::Pluralized
- 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
-
#few_value ⇒ TD::Types::String
Value for few objects.
-
#many_value ⇒ TD::Types::String
Value for many objects.
-
#one_value ⇒ TD::Types::String
Value for one object.
-
#other_value ⇒ TD::Types::String
Default value.
-
#two_value ⇒ TD::Types::String
Value for two objects.
-
#zero_value ⇒ TD::Types::String
Value for zero objects.
Method Summary
Methods inherited from Base
Instance Attribute Details
#few_value ⇒ TD::Types::String
Value for few objects.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def few_value @few_value end |
#many_value ⇒ TD::Types::String
Value for many objects.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def many_value @many_value end |
#one_value ⇒ TD::Types::String
Value for one object.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def one_value @one_value end |
#other_value ⇒ TD::Types::String
Default value.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def other_value @other_value end |
#two_value ⇒ TD::Types::String
Value for two objects.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def two_value @two_value end |
#zero_value ⇒ TD::Types::String
Value for zero objects.
11 12 13 |
# File 'lib/tdlib/types/language_pack_string_value/pluralized.rb', line 11 def zero_value @zero_value end |