Flowdock
method

test_ole_invoke_with_named_arg

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: TestWin32OLE
test_ole_invoke_with_named_arg() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/win32ole/tests/testWIN32OLE.rb, line 166
  def test_ole_invoke_with_named_arg
    book = @excel.workbooks.add
    sheets = book.worksheets
    sheet = book.worksheets(1)
    num = sheets.count
    begin
      sheets.add({'count' => 2, 'after'=>sheet})
      assert_equal(2, sheets.count - num);
    ensure
      book.saved = true
    end
  end
Register or log in to add new notes.