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