Sha256: 53d2cd9d9c0717dc3325c02948ae20426472f518f606a007868db3362198d269
Contents?: true
Size: 397 Bytes
Versions: 12
Compression:
Stored size: 397 Bytes
Contents
require 'cairo' module CairoTestUtils private def only_cairo_version(major, minor, micro=nil) unless Cairo.satisfied_version?(major, minor, micro) omit("Require cairo >= #{major}.#{minor}.#{micro}") end end def only_win32 omit("Only for Win32 platform") unless win32 end def win32? /cygwin|mingw|mswin32|bccwin32/.match(RUBY_PLATFORM) ? true : false end end
Version data entries
12 entries across 12 versions & 1 rubygems