Class: Writeexcel::Worksheet::Outline
- Inherits:
-
Object
- Object
- Writeexcel::Worksheet::Outline
- Defined in:
- lib/writeexcel/outline.rb
Instance Attribute Summary collapse
-
#below ⇒ Object
Returns the value of attribute below.
-
#right ⇒ Object
Returns the value of attribute right.
-
#row_level ⇒ Object
Returns the value of attribute row_level.
-
#style ⇒ Object
Returns the value of attribute style.
-
#visible ⇒ Object
writeonly
Sets the attribute visible.
Instance Method Summary collapse
-
#initialize ⇒ Outline
constructor
A new instance of Outline.
- #visible? ⇒ Boolean
Constructor Details
#initialize ⇒ Outline
Returns a new instance of Outline.
10 11 12 13 14 15 16 |
# File 'lib/writeexcel/outline.rb', line 10 def initialize @row_level = 0 @style = 0 @below = 1 @right = 1 @visible = true end |
Instance Attribute Details
#below ⇒ Object
Returns the value of attribute below.
7 8 9 |
# File 'lib/writeexcel/outline.rb', line 7 def below @below end |
#right ⇒ Object
Returns the value of attribute right.
7 8 9 |
# File 'lib/writeexcel/outline.rb', line 7 def right @right end |
#row_level ⇒ Object
Returns the value of attribute row_level.
7 8 9 |
# File 'lib/writeexcel/outline.rb', line 7 def row_level @row_level end |
#style ⇒ Object
Returns the value of attribute style.
7 8 9 |
# File 'lib/writeexcel/outline.rb', line 7 def style @style end |
#visible=(value) ⇒ Object (writeonly)
Sets the attribute visible
8 9 10 |
# File 'lib/writeexcel/outline.rb', line 8 def visible=(value) @visible = value end |
Instance Method Details
#visible? ⇒ Boolean
18 19 20 |
# File 'lib/writeexcel/outline.rb', line 18 def visible? !!@visible end |