Sha256: d073d014fca7d96c05b7d5eaa48264612778a88fa82ec7abf903401f0dfe62bf
Contents?: true
Size: 347 Bytes
Versions: 17
Compression:
Stored size: 347 Bytes
Contents
module OpenXml module Docx module Properties class PhoneticGuideLanguage < ValueProperty tag :lid name "language" def valid? value =~ /[a-z]{2}-[A-Z]{2}/ end def invalid_message "Invalid #{name}: must be a language code (RFC 4646)" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems