class DocxGenerator::Word::CapitalLetters
Represent the ‘w:caps` element from Office Open XML specification. This class should not be used directly by the users of the library.
Public Class Methods
new(present = nil)
click to toggle source
Create a new ‘w:caps` element. @param present [Boolean] If the text should be displayed in capital letters.
Calls superclass method
DocxGenerator::Element::new
# File lib/docx_generator/word/formatting.rb, line 137 def initialize(present = nil) arguments = (present == nil ? {} : { "w:val" => present }) super("w:caps", arguments) end