Class: OpenXml::Docx::Properties::NextStyle
- Inherits:
-
ValueProperty
- Object
- BaseProperty
- ValueProperty
- OpenXml::Docx::Properties::NextStyle
- Defined in:
- lib/openxml/docx/properties/next_style.rb
Instance Attribute Summary
Attributes inherited from ValueProperty
Attributes inherited from BaseProperty
Instance Method Summary collapse
Methods inherited from ValueProperty
#initialize, #render?, #to_xml
Methods inherited from BaseProperty
#default_name, #default_namespace, #default_tag, #initialize, name, #name, namespace, #namespace, #render?, tag, #tag, tag_is_one_of
Constructor Details
This class inherits a constructor from OpenXml::Docx::Properties::ValueProperty
Instance Method Details
#invalid_message ⇒ Object
11 12 13 |
# File 'lib/openxml/docx/properties/next_style.rb', line 11 def "#{name} must be a string that is not empty" end |
#valid? ⇒ Boolean
7 8 9 |
# File 'lib/openxml/docx/properties/next_style.rb', line 7 def valid? value.is_a?(String) && value.length > 0 end |