ruby-vips icon indicating copy to clipboard operation
ruby-vips copied to clipboard

Method defined at top level.

Open ioquatix opened this issue 3 years ago • 1 comments

https://github.com/libvips/ruby-vips/blob/932c31a103bb91c93ea862f3702b24b3fdd12905/lib/vips.rb#L26

This puts it in the global scope, is that a good idea?

ioquatix avatar Jun 24 '22 08:06 ioquatix

Yes, true :(

I wanted to avoid copy-pasting it into the GLib, GModule and Vips modules. Really it ought to be inside ffi (i saw your PR, nice!).

jcupitt avatar Jun 24 '22 14:06 jcupitt