Class: Prawn::Images::PNG

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn/images/png_patch.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ PNG

:nodoc:



12
13
14
15
# File 'lib/prawn/images/png_patch.rb', line 12

def initialize(data) #:nodoc:
  @prawn_fast_png_data = data
  prawn_fast_png_old_initialize(data)
end

Instance Method Details

#prawn_fast_png_old_initializeObject



10
# File 'lib/prawn/images/png_patch.rb', line 10

alias_method :prawn_fast_png_old_initialize, :initialize