module WindowsCOM::VariantBasicCreation

use with extend

Public Instance Methods

[](type, field, val) click to toggle source
# File lib/windows_com/common.rb, line 62
def [](type, field, val)
        var = new

        var[:vt] = type
        var[field] = val

        var
end