class RestPki::WidthDefined
Public Class Methods
new(container)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 127 def initialize(container) @container = container end
Public Instance Methods
full_height()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 140 def full_height @container.top = 0.0 @container.bottom = 0.0 @container end
height(value)
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 131 def height(value) @container.height = value WidthDefinedFixedHeight.new(@container) end
var_height()
click to toggle source
# File lib/rest_pki/pdf_container_definition.rb, line 136 def var_height WidthDefinedVarHeight.new(@container) end