class PDF::Reader::PrintReceiver

A simple receiver that prints all operaters and parameters in the content stream of a single page.

Attributes

callbacks[RW]

Public Class Methods

new() click to toggle source
# File lib/pdf/reader/print_receiver.rb, line 12
def initialize
  @callbacks = []
end

Public Instance Methods

method_missing(methodname, *args) click to toggle source
# File lib/pdf/reader/print_receiver.rb, line 20
def method_missing(methodname, *args)
  puts "#{methodname} => #{args.inspect}"
end
respond_to?(meth) click to toggle source
# File lib/pdf/reader/print_receiver.rb, line 16
def respond_to?(meth)
  true
end