Sha256: d250ad46b1fd3e3466ffd82932844b95e3dd2b6f61f538752636003df1d2c452
Contents?: true
Size: 333 Bytes
Versions: 17
Compression:
Stored size: 333 Bytes
Contents
module OpenXml module Docx module Properties class StringProperty < ValueProperty def valid? value.is_a?(String) && !value.length.zero? end def invalid_message "Invalid value for #{name}; string expected (provided: #{value.inspect})" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems