Sha256: fecaeb64225d90045101a4cbf20007251ca390bbd385a391cdbb0143a75f13ce

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

module Libvirt
  module Ruby
    module Network
      def self.dispatcher(method, args = [])
        return_type = args.delete(args.last)
        attach_function ("virNetwork" + method.to_s), ("virNetwork" + method.to_s), args, return_type
        send(("virNetwork" + 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/network.rb