Sha256: 406c07de34ac9c22173e89ea36df80ae0d4722adefb4aeab1c43d97b1157825e

Contents?: true

Size: 337 Bytes

Versions: 12

Compression:

Stored size: 337 Bytes

Contents

class PDF::Reader
  class PrintReceiver

    attr_accessor :callbacks

    def initialize
      @callbacks = []
    end

    def respond_to?(meth)
      return false if [:begin_inline_image_data].include?(meth)
      true
    end

    def method_missing(methodname, *args)
      puts "#{methodname} => #{args.inspect}"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pdf-reader-0.8.6 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.5 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.4 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.3 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.2 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.1 lib/pdf/reader/print_receiver.rb
pdf-reader-0.8.0 lib/pdf/reader/print_receiver.rb
pdf-reader-0.7.7 lib/pdf/reader/print_receiver.rb
pdf-reader-0.7.6 lib/pdf/reader/print_receiver.rb
pdf-reader-0.7.3 lib/pdf/reader/print_receiver.rb
pdf-reader-0.7.5 lib/pdf/reader/print_receiver.rb
pdf-reader-0.7.4 lib/pdf/reader/print_receiver.rb