るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.167秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:rc[x] > クエリ:cp[x] > クエリ:new[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. bigdecimal to_r

ライブラリ

検索結果

Resolv::DNS::Resource::HINFO.new(cpu, os) -> Resolv::DNS::Resource::HINFO (27601.0)

Resolv::DNS::Resource::HINFO のインスタンスを生成します。

...Resolv::DNS::Resource::HINFO のインスタンスを生成します。

@param cpu CPU 名
@param os OS 名...

WIN32OLE_TYPE#default_event_sources -> [WIN32OLE_TYPE] (12648.0)

型が持つソースインターフェイスを取得します。

...default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるインターフェイス)を返します。

@return デフォルト...
...たない場合は空配列を返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.default_event_sources.map {|intf| intf.name} #=> ["DocEvents"]

WIN32OLE_EVENT.newでインターフェイス名を指定しない場合は、ここで
返さ...
...# coding : cp932
r
equire 'win32ole'

type = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'InternetExplorer')
ctl = WIN32OLE.new(type.progid)
source = type.default_event_sources[0]
class WebEvent
def initialize
@completed = false
end
attr_reader :completed
end
source.ole_met...