retval?

WIN32OLE_PARAM#retval?
Instance Public methods

Returns true if argument is return value.

tobj = WIN32OLE_TYPE.new('DirectX 7 for Visual Basic Type Library',
                         'DirectPlayLobbyConnection')
method = WIN32OLE_METHOD.new(tobj, 'GetPlayerShortName')
param = method.params[0]
puts "#{param.name} #{param.retval?}"  # => name true
doc_ruby_on_rails
2015-06-13 01:26:12
Comments
Leave a Comment

Please login to continue.