@@ -1962,7 +1962,7 @@ ole_bind_obj(VALUE moniker, int argc, VALUE *argv, VALUE self)
1962
1962
1963
1963
/*
1964
1964
* call-seq:
1965
- * WIN32OLE. connect( ole ) --> aWIN32OLE
1965
+ * connect( ole ) --> aWIN32OLE
1966
1966
*
1967
1967
* Returns running OLE Automation object or WIN32OLE object from moniker.
1968
1968
* 1st argument should be OLE program id or class id or moniker.
@@ -2019,7 +2019,7 @@ fole_s_connect(int argc, VALUE *argv, VALUE self)
2019
2019
2020
2020
/*
2021
2021
* call-seq:
2022
- * WIN32OLE. const_load( ole, mod = WIN32OLE)
2022
+ * const_load( ole, mod = WIN32OLE)
2023
2023
*
2024
2024
* Defines the constants of OLE Automation server as mod's constants.
2025
2025
* The first argument is WIN32OLE object or type library name.
@@ -2124,7 +2124,7 @@ reference_count(struct oledata * pole)
2124
2124
2125
2125
/*
2126
2126
* call-seq:
2127
- * WIN32OLE. ole_reference_count(aWIN32OLE) --> number
2127
+ * ole_reference_count(aWIN32OLE) --> number
2128
2128
*
2129
2129
* Returns reference counter of Dispatch interface of WIN32OLE object.
2130
2130
* You should not use this method because this method
@@ -2140,7 +2140,7 @@ fole_s_reference_count(VALUE self, VALUE obj)
2140
2140
2141
2141
/*
2142
2142
* call-seq:
2143
- * WIN32OLE. ole_free(aWIN32OLE) --> number
2143
+ * ole_free(aWIN32OLE) --> number
2144
2144
*
2145
2145
* Invokes Release method of Dispatch interface of WIN32OLE object.
2146
2146
* You should not use this method because this method
@@ -2184,10 +2184,10 @@ ole_show_help(VALUE helpfile, VALUE helpcontext)
2184
2184
2185
2185
/*
2186
2186
* call-seq:
2187
- * WIN32OLE. ole_show_help(obj [,helpcontext])
2187
+ * ole_show_help(obj [,helpcontext])
2188
2188
*
2189
- * Displays helpfile. The 1st argument specifies WIN32OLE_TYPE
2190
- * object or WIN32OLE_METHOD object or helpfile.
2189
+ * Displays helpfile. The 1st argument specifies WIN32OLE::Type
2190
+ * object or WIN32OLE::Method object or helpfile.
2191
2191
*
2192
2192
* excel = WIN32OLE.new('Excel.Application')
2193
2193
* typeobj = excel.ole_type
@@ -2227,7 +2227,7 @@ fole_s_show_help(int argc, VALUE *argv, VALUE self)
2227
2227
2228
2228
/*
2229
2229
* call-seq:
2230
- * WIN32OLE. codepage
2230
+ * codepage
2231
2231
*
2232
2232
* Returns current codepage.
2233
2233
* WIN32OLE.codepage # => WIN32OLE::CP_ACP
@@ -2258,7 +2258,7 @@ code_page_installed(UINT cp)
2258
2258
2259
2259
/*
2260
2260
* call-seq:
2261
- * WIN32OLE. codepage = CP
2261
+ * codepage = CP
2262
2262
*
2263
2263
* Sets current codepage.
2264
2264
* The WIN32OLE.codepage is initialized according to
@@ -2282,7 +2282,7 @@ fole_s_set_code_page(VALUE self, VALUE vcp)
2282
2282
2283
2283
/*
2284
2284
* call-seq:
2285
- * WIN32OLE. locale -> locale id.
2285
+ * locale -> locale id.
2286
2286
*
2287
2287
* Returns current locale id (lcid). The default locale is
2288
2288
* WIN32OLE::LOCALE_SYSTEM_DEFAULT.
@@ -2316,12 +2316,12 @@ lcid_installed(LCID lcid)
2316
2316
2317
2317
/*
2318
2318
* call-seq:
2319
- * WIN32OLE. locale = lcid
2319
+ * locale = lcid
2320
2320
*
2321
2321
* Sets current locale id (lcid).
2322
2322
*
2323
2323
* WIN32OLE.locale = 1033 # set locale English(U.S)
2324
- * obj = WIN32OLE_VARIANT .new("$100,000", WIN32OLE::VARIANT::VT_CY)
2324
+ * obj = WIN32OLE::Variant .new("$100,000", WIN32OLE::VARIANT::VT_CY)
2325
2325
*
2326
2326
*/
2327
2327
static VALUE
@@ -2345,7 +2345,7 @@ fole_s_set_locale(VALUE self, VALUE vlcid)
2345
2345
2346
2346
/*
2347
2347
* call-seq:
2348
- * WIN32OLE. create_guid
2348
+ * create_guid
2349
2349
*
2350
2350
* Creates GUID.
2351
2351
* WIN32OLE.create_guid # => {1CB530F1-F6B1-404D-BCE6-1959BF91F4A8}
@@ -2393,9 +2393,9 @@ fole_s_ole_uninitialize(VALUE self)
2393
2393
/*
2394
2394
* Document-class: WIN32OLE
2395
2395
*
2396
- * <code> WIN32OLE</code> objects represent OLE Automation object in Ruby.
2396
+ * + WIN32OLE+ objects represent OLE Automation object in Ruby.
2397
2397
*
2398
- * By using WIN32OLE, you can access OLE server like VBScript.
2398
+ * By using + WIN32OLE+ , you can access OLE server like VBScript.
2399
2399
*
2400
2400
* Here is sample script.
2401
2401
*
@@ -2419,18 +2419,18 @@ fole_s_ole_uninitialize(VALUE self)
2419
2419
* excel.ActiveWorkbook.Close(0);
2420
2420
* excel.Quit();
2421
2421
*
2422
- * Unfortunately, Win32OLE doesn't support the argument passed by
2422
+ * Unfortunately, +WIN32OLE+ doesn't support the argument passed by
2423
2423
* reference directly.
2424
- * Instead, Win32OLE provides WIN32OLE::ARGV or WIN32OLE_VARIANT object.
2424
+ * Instead, +WIN32OLE+ provides WIN32OLE::ARGV or WIN32OLE::Variant object.
2425
2425
* If you want to get the result value of argument passed by reference,
2426
- * you can use WIN32OLE::ARGV or WIN32OLE_VARIANT .
2426
+ * you can use WIN32OLE::ARGV or WIN32OLE::Variant .
2427
2427
*
2428
2428
* oleobj.method(arg1, arg2, refargv3)
2429
2429
* puts WIN32OLE::ARGV[2] # the value of refargv3 after called oleobj.method
2430
2430
*
2431
2431
* or
2432
2432
*
2433
- * refargv3 = WIN32OLE_VARIANT .new(XXX,
2433
+ * refargv3 = WIN32OLE::Variant .new(XXX,
2434
2434
* WIN32OLE::VARIANT::VT_BYREF|WIN32OLE::VARIANT::VT_XXX)
2435
2435
* oleobj.method(arg1, arg2, refargv3)
2436
2436
* p refargv3.value # the value of refargv3 after called oleobj.method.
@@ -2439,7 +2439,7 @@ fole_s_ole_uninitialize(VALUE self)
2439
2439
2440
2440
/*
2441
2441
* call-seq:
2442
- * WIN32OLE. new(server, [host]) -> WIN32OLE object
2442
+ * new(server, [host]) -> WIN32OLE object
2443
2443
* WIN32OLE.new(server, license: 'key') -> WIN32OLE object
2444
2444
*
2445
2445
* Returns a new WIN32OLE object(OLE Automation object).
@@ -2826,7 +2826,7 @@ ole_invoke(int argc, VALUE *argv, VALUE self, USHORT wFlags, BOOL is_bracket)
2826
2826
2827
2827
/*
2828
2828
* call-seq:
2829
- * WIN32OLE# invoke(method, [arg1,...]) => return value of method.
2829
+ * invoke(method, [arg1,...]) => return value of method.
2830
2830
*
2831
2831
* Runs OLE method.
2832
2832
* The first argument specifies the method name of OLE Automation object.
@@ -3038,7 +3038,7 @@ ole_invoke2(VALUE self, VALUE dispid, VALUE args, VALUE types, USHORT dispkind)
3038
3038
3039
3039
/*
3040
3040
* call-seq:
3041
- * WIN32OLE# _invoke(dispid, args, types)
3041
+ * _invoke(dispid, args, types)
3042
3042
*
3043
3043
* Runs the early binding method.
3044
3044
* The 1st argument specifies dispatch ID,
@@ -3056,7 +3056,7 @@ fole_invoke2(VALUE self, VALUE dispid, VALUE args, VALUE types)
3056
3056
3057
3057
/*
3058
3058
* call-seq:
3059
- * WIN32OLE# _getproperty(dispid, args, types)
3059
+ * _getproperty(dispid, args, types)
3060
3060
*
3061
3061
* Runs the early binding method to get property.
3062
3062
* The 1st argument specifies dispatch ID,
@@ -3074,7 +3074,7 @@ fole_getproperty2(VALUE self, VALUE dispid, VALUE args, VALUE types)
3074
3074
3075
3075
/*
3076
3076
* call-seq:
3077
- * WIN32OLE# _setproperty(dispid, args, types)
3077
+ * _setproperty(dispid, args, types)
3078
3078
*
3079
3079
* Runs the early binding method to set property.
3080
3080
* The 1st argument specifies dispatch ID,
@@ -3120,7 +3120,7 @@ fole_setproperty_with_bracket(int argc, VALUE *argv, VALUE self)
3120
3120
3121
3121
/*
3122
3122
* call-seq:
3123
- * WIN32OLE. setproperty('property', [arg1, arg2,...] val)
3123
+ * setproperty('property', [arg1, arg2,...] val)
3124
3124
*
3125
3125
* Sets property of OLE object.
3126
3126
* When you want to set property with argument, you can use this method.
@@ -3226,7 +3226,7 @@ ole_propertyput(VALUE self, VALUE property, VALUE value)
3226
3226
3227
3227
/*
3228
3228
* call-seq:
3229
- * WIN32OLE# ole_free
3229
+ * ole_free
3230
3230
*
3231
3231
* invokes Release method of Dispatch interface of WIN32OLE object.
3232
3232
* Usually, you do not need to call this method because Release method
@@ -3269,7 +3269,7 @@ ole_ienum_free(VALUE pEnumV)
3269
3269
3270
3270
/*
3271
3271
* call-seq:
3272
- * WIN32OLE# each {|i|...}
3272
+ * each {|i|...}
3273
3273
*
3274
3274
* Iterates over each item of OLE collection which has IEnumVARIANT interface.
3275
3275
*
@@ -3340,7 +3340,7 @@ fole_each(VALUE self)
3340
3340
3341
3341
/*
3342
3342
* call-seq:
3343
- * WIN32OLE# method_missing(id [,arg1, arg2, ...])
3343
+ * method_missing(id [,arg1, arg2, ...])
3344
3344
*
3345
3345
* Calls WIN32OLE#invoke method.
3346
3346
*/
@@ -3438,9 +3438,9 @@ ole_methods(VALUE self, int mask)
3438
3438
3439
3439
/*
3440
3440
* call-seq:
3441
- * WIN32OLE# ole_methods
3441
+ * ole_methods
3442
3442
*
3443
- * Returns the array of WIN32OLE_METHOD object.
3443
+ * Returns the array of WIN32OLE::Method object.
3444
3444
* The element is OLE method of WIN32OLE object.
3445
3445
*
3446
3446
* excel = WIN32OLE.new('Excel.Application')
@@ -3455,9 +3455,9 @@ fole_methods(VALUE self)
3455
3455
3456
3456
/*
3457
3457
* call-seq:
3458
- * WIN32OLE# ole_get_methods
3458
+ * ole_get_methods
3459
3459
*
3460
- * Returns the array of WIN32OLE_METHOD object .
3460
+ * Returns the array of WIN32OLE::Method object .
3461
3461
* The element of the array is property (gettable) of WIN32OLE object.
3462
3462
*
3463
3463
* excel = WIN32OLE.new('Excel.Application')
@@ -3471,9 +3471,9 @@ fole_get_methods(VALUE self)
3471
3471
3472
3472
/*
3473
3473
* call-seq:
3474
- * WIN32OLE# ole_put_methods
3474
+ * ole_put_methods
3475
3475
*
3476
- * Returns the array of WIN32OLE_METHOD object .
3476
+ * Returns the array of WIN32OLE::Method object .
3477
3477
* The element of the array is property (settable) of WIN32OLE object.
3478
3478
*
3479
3479
* excel = WIN32OLE.new('Excel.Application')
@@ -3487,9 +3487,9 @@ fole_put_methods(VALUE self)
3487
3487
3488
3488
/*
3489
3489
* call-seq:
3490
- * WIN32OLE# ole_func_methods
3490
+ * ole_func_methods
3491
3491
*
3492
- * Returns the array of WIN32OLE_METHOD object .
3492
+ * Returns the array of WIN32OLE::Method object .
3493
3493
* The element of the array is property (settable) of WIN32OLE object.
3494
3494
*
3495
3495
* excel = WIN32OLE.new('Excel.Application')
@@ -3504,9 +3504,9 @@ fole_func_methods(VALUE self)
3504
3504
3505
3505
/*
3506
3506
* call-seq:
3507
- * WIN32OLE# ole_type
3507
+ * ole_type
3508
3508
*
3509
- * Returns WIN32OLE_TYPE object.
3509
+ * Returns WIN32OLE::Type object.
3510
3510
*
3511
3511
* excel = WIN32OLE.new('Excel.Application')
3512
3512
* tobj = excel.ole_type
@@ -3536,9 +3536,9 @@ fole_type(VALUE self)
3536
3536
3537
3537
/*
3538
3538
* call-seq:
3539
- * WIN32OLE# ole_typelib -> The WIN32OLE_TYPELIB object
3539
+ * ole_typelib -> The WIN32OLE_TYPELIB object
3540
3540
*
3541
- * Returns the WIN32OLE_TYPELIB object. The object represents the
3541
+ * Returns the WIN32OLE::TypeLib object. The object represents the
3542
3542
* type library which contains the WIN32OLE object.
3543
3543
*
3544
3544
* excel = WIN32OLE.new('Excel.Application')
@@ -3570,7 +3570,7 @@ fole_typelib(VALUE self)
3570
3570
3571
3571
/*
3572
3572
* call-seq:
3573
- * WIN32OLE# ole_query_interface(iid) -> WIN32OLE object
3573
+ * ole_query_interface(iid) -> WIN32OLE object
3574
3574
*
3575
3575
* Returns WIN32OLE object for a specific dispatch or dual
3576
3576
* interface specified by iid.
@@ -3616,7 +3616,7 @@ fole_query_interface(VALUE self, VALUE str_iid)
3616
3616
3617
3617
/*
3618
3618
* call-seq:
3619
- * WIN32OLE# ole_respond_to?(method) -> true or false
3619
+ * ole_respond_to?(method) -> true or false
3620
3620
*
3621
3621
* Returns true when OLE object has OLE method, otherwise returns false.
3622
3622
*
@@ -3825,9 +3825,9 @@ ole_typedesc2val(ITypeInfo *pTypeInfo, TYPEDESC *pTypeDesc, VALUE typedetails)
3825
3825
3826
3826
/*
3827
3827
* call-seq:
3828
- * WIN32OLE# ole_method_help(method)
3828
+ * ole_method_help(method)
3829
3829
*
3830
- * Returns WIN32OLE_METHOD object corresponding with method
3830
+ * Returns WIN32OLE::Method object corresponding with method
3831
3831
* specified by 1st argument.
3832
3832
*
3833
3833
* excel = WIN32OLE.new('Excel.Application')
@@ -3859,7 +3859,7 @@ fole_method_help(VALUE self, VALUE cmdname)
3859
3859
3860
3860
/*
3861
3861
* call-seq:
3862
- * WIN32OLE# ole_activex_initialize() -> Qnil
3862
+ * ole_activex_initialize() -> Qnil
3863
3863
*
3864
3864
* Initialize WIN32OLE object(ActiveX Control) by calling
3865
3865
* IPersistMemory::InitNew.
@@ -4073,7 +4073,7 @@ Init_win32ole(void)
4073
4073
* p c # => 0
4074
4074
* p WIN32OLE::ARGV # => [10, 20, 30]
4075
4075
*
4076
- * You can use WIN32OLE_VARIANT object to retrieve the value of reference
4076
+ * You can use WIN32OLE::Variant object to retrieve the value of reference
4077
4077
* arguments instead of referring WIN32OLE::ARGV.
4078
4078
*
4079
4079
*/
0 commit comments