Sha256: 4640015da486e9d4c5e408df7a3d181d5f333d3d747e06a15380c39d388323f8

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module Libvirt
  module Ruby
    module StoragePool
      def self.dispatcher(method, args = [])
        return_type = args.delete(args.last)
        attach_function ("virStoragePool" + method.to_s), ("virStoragePool" + method.to_s), args, return_type
        send(("virStoragePool" + method.to_s), args)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
libvirt-ruby-0.0.1 lib/libvirt-ruby/storage_pool.rb