class Hpdf::LetterDIN5008::InfoBox
- Hpdf::LetterDIN5008::InfoBox
- Reference
- Object
Defined in:
hpdf/letter.crConstructors
-
.new
Create`s a new infromation box.
Instance Method Summary
-
#keys : Array(String)
returns all keys
-
#longest_key
returns the longest key of all given rows
-
#row(key : String = "", value : String = "")
adds a row to the info box.
-
#values : Array(String)
returns all values
Constructor Detail
Instance Method Detail
adds a row to the info box. To add an empty row keep key and value as empty strings.
- key the left side of the info box
- value the right side of the info box