Class: Writeexcel::Worksheet::Outline

Inherits:
Object
  • Object
show all
Defined in:
lib/writeexcel/outline.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOutline


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

#belowObject

Returns the value of attribute below


7
8
9
# File 'lib/writeexcel/outline.rb', line 7

def below
  @below
end

#rightObject

Returns the value of attribute right


7
8
9
# File 'lib/writeexcel/outline.rb', line 7

def right
  @right
end

#row_levelObject

Returns the value of attribute row_level


7
8
9
# File 'lib/writeexcel/outline.rb', line 7

def row_level
  @row_level
end

#styleObject

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