class RestPki::FixedWidth
Public Class Methods
new(container)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 54 def initialize(container) @container = container end
Public Instance Methods
anchor_left(margin=0.0)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 58 def anchor_left(margin=0.0) @container.left = margin WidthDefined.new(@container) end
anchor_right(margin=0.0)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 63 def anchor_right(margin=0.0) @container.right = margin WidthDefined.new(@container) end
center()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 68 def center WidthDefined.new(@container) end