Method: HexaPDF::FiberDoubleForString#initialize
- Defined in:
- lib/hexapdf/filter.rb
#initialize(str = nil, &block) ⇒ FiberDoubleForString
Creates a new FiberDoubleForString instance for the given string str or for the string returned by invoking the block.
66 67 68 69 70 |
# File 'lib/hexapdf/filter.rb', line 66 def initialize(str = nil, &block) @block = block @str = str @block_used = false end |