Files
news.gitea.happylizard.me/bin/gems/pdf-reader-2.14.1/lib/pdf/reader/print_receiver.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

26 lines
447 B
Ruby

# coding: utf-8
# typed: strict
# frozen_string_literal: true
class PDF::Reader
# A simple receiver that prints all operaters and parameters in the content
# stream of a single page.
#
class PrintReceiver
attr_accessor :callbacks
def initialize
@callbacks = []
end
def respond_to?(meth)
true
end
def method_missing(methodname, *args)
puts "#{methodname} => #{args.inspect}"
end
end
end