Sha256: 7dd1e89d37b52cb79f1fcddd6fa34144b5b9effcc18153a1538d8d9511056057

Contents?: true

Size: 314 Bytes

Versions: 107

Compression:

Stored size: 314 Bytes

Contents

module Cairo
  if const_defined?(:Device)
    class Device
      class << self
        def supported?(type)
          supported_predicate = "#{type.to_s.downcase}_supported?"
          return false unless respond_to?(supported_predicate)
          send(supported_predicate)
        end
      end
    end
  end
end

Version data entries

107 entries across 99 versions & 2 rubygems

Version Path
savant-echo-0.1.9 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.9 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.6 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.6 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.5 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.5 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.4 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.4 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.3 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
savant-echo-0.1.3 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/device.rb
cairo-1.15.3-x86-mingw32 lib/cairo/device.rb
cairo-1.15.3-x64-mingw32 lib/cairo/device.rb
cairo-1.15.3 lib/cairo/device.rb
cairo-1.14.6 lib/cairo/device.rb
cairo-1.14.6-x86-mingw32 lib/cairo/device.rb
cairo-1.14.6-x64-mingw32 lib/cairo/device.rb
cairo-1.15.2-x64-mingw32 lib/cairo/device.rb
cairo-1.15.2-x86-mingw32 lib/cairo/device.rb
cairo-1.15.2 lib/cairo/device.rb
cairo-1.14.3-x86-mingw32 lib/cairo/device.rb