Class: DocxGenerator::Word::CapitalLetters
- Defined in:
- lib/docx_generator/word/formatting.rb
Overview
Represent the ‘w:caps` element from Office Open XML specification. This class should not be used directly by the users of the library.
Instance Method Summary collapse
-
#initialize(present = nil) ⇒ CapitalLetters
constructor
Create a new ‘w:caps` element.
Methods inherited from Element
Constructor Details
#initialize(present = nil) ⇒ CapitalLetters
Create a new ‘w:caps` element.
137 138 139 140 |
# File 'lib/docx_generator/word/formatting.rb', line 137 def initialize(present = nil) arguments = (present == nil ? {} : { "w:val" => present }) super("w:caps", arguments) end |