Sha256: e7ac5db7ab3b3c4c5b488d6664a851d8197aae7be74ae3328d0031efe93cd6fa

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Components
    module Properties
      class LanguageProperty
        include Goldendocx::Element

        namespace :w
        tag :lang

        attribute :complex, alias_name: :bidi, namespace: :w, default: 'ar-SA'
        attribute :east_asia, alias_name: :eastAsia, namespace: :w, default: 'zh-CN'
        attribute :latin, alias_name: :val, namespace: :w, default: 'en-US'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/components/properties/language_property.rb
goldendocx-0.2.3 lib/goldendocx/components/properties/language_property.rb