Class: MyExcel
Overview
a subclass of Win32OLE override new() and connect()
Constant Summary
Constants inherited from WIN32OLE
WIN32OLE::ARGV, WIN32OLE::CP_THREAD_ACP, WIN32OLE::VERSION
Class Method Summary collapse
Methods inherited from WIN32OLE
#[], #[]=, #_getproperty, #_invoke, #_setproperty, codepage, codepage=, const_load, #each, #initialize, #invoke, #method_missing, #ole_activex_initialize, #ole_free, ole_free, #ole_func_methods, #ole_get_methods, #ole_method, #ole_methods, #ole_obj_help, #ole_put_methods, ole_reference_count, ole_show_help, #setproperty
Constructor Details
This class inherits a constructor from WIN32OLE
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class WIN32OLE
Class Method Details
.connect ⇒ Object
322 323 324 |
# File 'tests/testWIN32OLE.rb', line 322 def MyExcel.connect super "Excel.Application" end |
.new ⇒ Object
319 320 321 |
# File 'tests/testWIN32OLE.rb', line 319 def MyExcel.new super "Excel.Application" end |