るりまサーチ

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

別のキーワード

  1. _builtin name
  2. resolv each_name
  3. net/imap name
  4. openssl name
  5. win32ole name

ライブラリ

クラス

検索結果

WIN32OLE#invoke(name, *args) -> object | nil (18220.0)

メソッド名を指定してオブジェクトのメソッドを呼び出します。

...します。

なお、OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別
されません。

@param name メソッド名を文字列またはシンボルで指定します。
@param args メソッドの引数を指定します。また、最後の引数...
...'Excel.Application')
workbook = excel.workbooks.invoke(:Open, :FileName => 'c:\\users\\public\\test.xml',
:ReadOnly => true,
:Password => 'secret')
excel.invoke(:Quit)

このリストは、以下の記述と...
...同等です。

excel = WIN32OLE.new('Excel.Application')
workbook = excel.workbooks.Open(:FileName => 'c:\\users\\public\\test.xml',
:ReadOnly => true,
:Password => 'secret')
excel.Quit...

NEWS for Ruby 3.0.0 (36.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...l use `"(eval)"` for `__FILE__` and `1` for `__LINE__` in the evaluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and acc...
...ption. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_externa...
...ck? now defaults to `true`. 16786
* IO#wait_readable, IO#wait_writable, IO#read, IO#write and other related methods (e.g. IO#puts, IO#gets) may invoke the scheduler hook `#io_wait(io, events, timeout)` in a non-blocking execution context. 16786
* Kernel
* Kernel#clone when called with the...

drb/extservm (30.0)

DRb::ExtServManager を定義しているライブラリ。

...れた
時に起動されます。また、stop.rbを用いて



server.rb:
require 'drb/drb'
require 'drb/extservm'

Dir.chdir(File.dirname(__FILE__))
# サービスを起動するコマンドを指定する
# コマンドは文字列配列、もしくは文字列で指定できる...
...ビスを表すクラス
class Service
include DRb::DRbUndumped

def initialize(service_name)
@service_name = service_name
end

def hello
"You invoke #{@service_name}"
end
end

puts "Start #{ARGV[0]}"
# ARGV の最後2つを除いた部分は ExtServMa...

rdoc/parser/c (30.0)

C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。

...た、Ruby のソースコードとは別にコメントには特別な命令を指定する事がで
きます。

: Document-class: name

記述する内容を name で指定した Ruby のクラスのものに指定します。同じ
.c ファイルに複数のクラス定義がある場合...
...のように、Init_xxx 関数の
xxx の部分がクラス名と同一ではない場合に使用します。

: Document-method: name

記述する内容を name で指定した Ruby のメソッドのものに指定します。
RDoc が対応するメソッドを見つけられなかった...
...: read_value
*
* call-seq:
* cfg.read_value(key) -> value
* cfg.read_value(key} { |key| } -> value
*
* Return the value corresponding to +key+ from the configuration.
* In the second form, if the key isn't found, invoke the
* block and return its value.
*/...

ruby 1.8.3 feature (30.0)

ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))

...1

=== 2005-09-16
: File.extname [ruby] [compat]

与えられた pathname がピリオドで終る場合、ピリオドではなく空の文字列を返すようになりました。

$ ruby-1.8.2 -e 'p File.extname("a.")'
"."
$ ruby-1.8.3 -e 'p File.extname("a.")'
""

=== 2005-09...
...et::HTTPRequest#body_stream(=) [lib] [new]

追加。

: Net::HTTPHeader#each_capitalized [lib] [compat]
: Net::HTTPHeader#each_capitalized_name [lib] [new]

Net::HTTPHeader#canonical_each は Net::HTTPHeader#each_capitalized
に名前が変わりました。canonical_each も each_capit...
... name for global variable - --foo@bar (NameError)

=== 2005-04-18
: WIN32OLE.codepage [lib] [new]
: WIN32OLE.codepage= [lib] [new]

=== 2005-04-10
: WIN32OLE#invoke [lib] [bug]
nil を VT_ERROR に変換して Invokeを呼び出して失敗するときには VT_EMPTYに変換して
再度 Invoke...

絞り込み条件を変える

ruby 1.9 feature (30.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...-07-26

: __send
: __send!

追加

: invoke_method
: invoke_functional_method

削除

=== 2006-07-21

: Module#attr

オプショナル引数の assignable がなくなり、attr_reader 相当になりました
[RCR#331]

=== 2006-06-22

: Module#name

無名モジュールに対して...
...は nil を返すようになりました
[ruby-talk:198440]

=== 2006-06-17

: BasicObject#invoke_method
: BasicObject#invoke_functional_method

追加
((<ruby-talk:197512>))

=== 2006-06-13

: IPsocket
: TCPsocket
: SOCKSsocket
: TCPserver
: UDPsocket
: UNIXsocket
: UNIXserver

削除

===...
...亡時のエラーメッセージをちゃんと表示するようスレッドスケジューリングが調整されました
: Socket.gethostbyname 修正 ((<ruby-core:07691>))
: strtod 精度改善 ((<ruby-dev:28619>)), ((<ruby-core:07796>))
: 新しい autoconf 対応
: RUNIT::Assert 独...

WIN32OLE#ole_func_methods -> [WIN32OLE_METHOD] (12.0)

オブジェクトのファンクション情報をWIN32OLE_METHODの配列として返し ます。

...す。

excel = WIN32OLE.new('Excel.Application')
excel.visible = true
excel.ole_func_methods.each do |fun|
if fun.name.upcase == 'QUIT'
excel._invoke(fun.dispid, [], [])
break
end
end

@see WIN32OLE#ole_methods, WIN32OLE#ole_get_methods,
WIN32OLE#ole_put_met...