Class: MyExcel
Overview
a subclass of Win32OLE override new() and connect()
Constant Summary
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
+ (Object) connect
323 324 325 |
# File 'tests/testWIN32OLE.rb', line 323 def MyExcel.connect super "Excel.Application" end |
+ (Object) new
320 321 322 |
# File 'tests/testWIN32OLE.rb', line 320 def MyExcel.new super "Excel.Application" end |