A version in Libvirt's representation
# File lib/libvirt.rb, line 19 def initialize(type, version) @type = type @version = version end
# File lib/libvirt.rb, line 24 def major version / 1000000 end
# File lib/libvirt.rb, line 28 def minor version % 1000000 / 1000 end
# File lib/libvirt.rb, line 32 def release version % 1000 end
# File lib/libvirt.rb, line 36 def to_s "#{major}.#{minor}.#{release}" end