Method: HexaPDF::Content::Parser.parse

Defined in:
lib/hexapdf/content/parser.rb

.parse(contents, processor = nil, &block) ⇒ Object

Creates a new Parser object and calls #parse.



164
165
166
# File 'lib/hexapdf/content/parser.rb', line 164

def self.parse(contents, processor = nil, &block)
  new.parse(contents, processor, &block)
end