Class: DocxGenerator::Word::VerticalAlign

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) ⇒ VerticalAlign

Returns a new instance of VerticalAlign.



53
54
55
# File 'lib/docx_generator/word/formatting.rb', line 53

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