Class: Xmlss::Element::Row
- Inherits:
-
Object
- Object
- Xmlss::Element::Row
- Defined in:
- lib/xmlss/element/row.rb
Instance Attribute Summary collapse
-
#auto_fit_height ⇒ Object
Returns the value of attribute auto_fit_height.
-
#height ⇒ Object
Returns the value of attribute height.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#style_id ⇒ Object
(also: #style_i_d)
Returns the value of attribute style_id.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Row
constructor
A new instance of Row.
Constructor Details
#initialize(attrs = {}) ⇒ Row
Returns a new instance of Row.
8 9 10 11 12 13 |
# File 'lib/xmlss/element/row.rb', line 8 def initialize(attrs={}) self.style_id = attrs[:style_id] self.height = attrs[:height] self.auto_fit_height = attrs[:auto_fit_height] || false self.hidden = attrs[:hidden] || false end |
Instance Attribute Details
#auto_fit_height ⇒ Object
Returns the value of attribute auto_fit_height.
5 6 7 |
# File 'lib/xmlss/element/row.rb', line 5 def auto_fit_height @auto_fit_height end |
#height ⇒ Object
Returns the value of attribute height.
5 6 7 |
# File 'lib/xmlss/element/row.rb', line 5 def height @height end |
#hidden ⇒ Object
Returns the value of attribute hidden.
5 6 7 |
# File 'lib/xmlss/element/row.rb', line 5 def hidden @hidden end |
#style_id ⇒ Object Also known as: style_i_d
Returns the value of attribute style_id.
5 6 7 |
# File 'lib/xmlss/element/row.rb', line 5 def style_id @style_id end |