Sha256: 3322a5575e0078643ba2cd70fb8c4a5cf559fe9e87db8888ccc82cd07a0465d5

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

module Libvirt
  module Ruby
    module Connect
      extend Libvirt::Ruby

      def self.open(uri)
        virConnectOpen(:string, :pointer) unless respond_to_missing?(:virConnectOpen, false)
        virConnectOpen(uri)
      end

      def self.open_read_only(uri)
        virConnectOpenReadOnly(:string, :pointer) unless respond_to_missing?(:virConnectOpenReadOnly, false)
        virConnectOpenReadOnly(uri)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
libvirt-ruby-mapping-0.1.0 lib/libvirt-ruby-mapping/connect.rb