Sha256: 50cf2b8d5bb48e1ee36957546bfe6df1f4d4794284ce7d87d8f7281a28693605

Contents?: true

Size: 885 Bytes

Versions: 3

Compression:

Stored size: 885 Bytes

Contents

module TD::Types
  # 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.
  #
  # @attr zero_value [String] Value for zero objects.
  # @attr one_value [String] Value for one object.
  # @attr two_value [String] Value for two objects.
  # @attr few_value [String] Value for few objects.
  # @attr many_value [String] Value for many objects.
  # @attr other_value [String] Default value.
  class LanguagePackStringValue::Pluralized < LanguagePackStringValue
    attribute :zero_value, TD::Types::String
    attribute :one_value, TD::Types::String
    attribute :two_value, TD::Types::String
    attribute :few_value, TD::Types::String
    attribute :many_value, TD::Types::String
    attribute :other_value, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/language_pack_string_value/pluralized.rb
tdlib-ruby-2.2.0 lib/tdlib/types/language_pack_string_value/pluralized.rb
tdlib-ruby-2.1.0 lib/tdlib/types/language_pack_string_value/pluralized.rb