lib/openxml/docx/properties/table_border.rb in openxml-docx-0.10.1 vs lib/openxml/docx/properties/table_border.rb in openxml-docx-0.10.2
- old
+ new
@@ -4,11 +4,11 @@
class TableBorder < ComplexProperty
tag_is_one_of %i(top start bottom end insideH insideV left right)
with_namespace :w do
attribute :color, expects: :hex_color
- attribute :frame, expects: :true_or_false
- attribute :shadow, expects: :true_or_false
+ attribute :frame, expects: :boolean
+ attribute :shadow, expects: :boolean
attribute :space, expects: :positive_integer
attribute :theme_color, expects: :valid_theme_color
attribute :theme_shade, expects: :hex_digit
attribute :theme_tint, expects: :hex_digit
attribute :value, expects: :valid_type, displays_as: :val