Class: Docxer::Word::Themes::Theme

Inherits:
Object
  • Object
show all
Defined in:
lib/docxer/word/themes/theme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTheme

Returns a new instance of Theme.



9
10
# File 'lib/docxer/word/themes/theme.rb', line 9

def initialize
end

Instance Attribute Details

#sequenceObject

Returns the value of attribute sequence.



8
9
10
# File 'lib/docxer/word/themes/theme.rb', line 8

def sequence
  @sequence
end

Instance Method Details

#renderObject



17
18
19
# File 'lib/docxer/word/themes/theme.rb', line 17

def render
  Docxer.to_xml(document)
end

#set_sequence(sequence) ⇒ Object



12
13
14
15
# File 'lib/docxer/word/themes/theme.rb', line 12

def set_sequence(sequence)
  @sequence = sequence
  self
end