Class: DocxGenerator::Word::Alignment

Inherits:
Element
  • Object
show all
Defined in:
lib/docx_generator/word/formatting.rb

Instance Method Summary collapse

Methods inherited from Element

#add, #generate

Constructor Details

#initialize(value) ⇒ Alignment

Returns a new instance of Alignment.



38
39
40
# File 'lib/docx_generator/word/formatting.rb', line 38

def initialize(value)
  super("w:jc", { "w:val" => value })
end