method

setup

ruby latest stable - Class: TestWIN32OLE_WITH_WORD

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

setup()
public

No documentation available.

# File ext/win32ole/tests/test_word.rb, line 13
    def setup
      begin
        @obj = WIN32OLE.new('Word.Application')
      rescue WIN32OLERuntimeError
        @obj = nil
      end
    end