Files
news.gitea.happylizard.me/bin/gems/pdf-reader-2.14.1/examples/hash.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

13 lines
265 B
Ruby

#!/usr/bin/env ruby
# coding: utf-8
# get direct access to PDF objects
require 'pdf/reader'
filename = File.expand_path(File.dirname(__FILE__)) + "/../spec/data/cairo-unicode.pdf"
reader = PDF::Reader.new(filename)
puts reader.objects[3]
puts reader.objects[4]