Class: BerkeleyLibrary::Util::ODS::XML::Style::TableColumnProperties
- Inherits:
-
ElementNode
- Object
- ElementNode
- BerkeleyLibrary::Util::ODS::XML::Style::TableColumnProperties
- Defined in:
- lib/berkeley_library/util/ods/xml/style/table_row_properties.rb
Instance Attribute Summary collapse
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Attributes inherited from ElementNode
#doc, #element_name, #namespace
Instance Method Summary collapse
-
#initialize(width, doc:) ⇒ TableColumnProperties
constructor
A new instance of TableColumnProperties.
Methods inherited from ElementNode
#add_child, #attributes, #children, #clear_attribute, #create_element, #element, #ensure_element!, #prefix, #prefixed_attr_name, #set_attribute
Constructor Details
#initialize(width, doc:) ⇒ TableColumnProperties
Returns a new instance of TableColumnProperties.
11 12 13 14 15 |
# File 'lib/berkeley_library/util/ods/xml/style/table_row_properties.rb', line 11 def initialize(width, doc:) super(:style, 'table-column-properties', doc: doc) @width = width set_default_attributes! end |
Instance Attribute Details
#width ⇒ Object (readonly)
Returns the value of attribute width.
9 10 11 |
# File 'lib/berkeley_library/util/ods/xml/style/table_row_properties.rb', line 9 def width @width end |