Flowdock
method

test_setproperty_with_equal

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: TestWin32OLE
test_setproperty_with_equal() 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 224
  def test_setproperty_with_equal
    book = @excel.workbooks.add
    sheet = book.worksheets(1)
    begin
      sheet.range("B1").value = 10
      assert_equal(10, sheet.range("B1").value)
      sheet.range("C1:D1").value = [11, 12]
      assert_equal(11, sheet.range("C1").value)
      assert_equal(12, sheet.range("D1").value)
    ensure
      book.saved = true
    end
  end
Register or log in to add new notes.