lib/vips/targetcustom.rb in ruby-vips-2.2.0 vs lib/vips/targetcustom.rb in ruby-vips-2.2.1
- old
+ new
@@ -45,10 +45,10 @@
def initialize
pointer = Vips.vips_target_custom_new
raise Vips::Error if pointer.null?
- super pointer
+ super(pointer)
end
# The block is executed to write data to the source. The interface is
# exactly as IO::write, ie. it should write the string and return the
# number of bytes written.