るりまサーチ

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

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Fiddle::Closure#args -> [Integer] (21201.0)

引数の型を表す配列を返します。

引数の型を表す配列を返します。

Gem::ConfigFile#args -> Array (21201.0)

設定ファイルオブジェクトに与えられたコマンドライン引数のリストを返します。

設定ファイルオブジェクトに与えられたコマンドライン引数のリストを返します。

Rake::TaskManager#resolve_args(args) -> Array (12408.0)

タスクやルールに与えられたパラメータを解釈します。

...タスクやルールに与えられたパラメータを解釈します。

@param args パラメータを指定します。

@return [task_name, arg_name_list, prerequisites] を返します。...

Gem::Command.build_args -> Array (12301.0)

Gem をビルドするときに使用するパラメータを返します。

Gem をビルドするときに使用するパラメータを返します。

WIN32OLE_EVENT#on_event_with_outargs(event = nil) {|*args| ... } -> () (9425.0)

イベント通知を受けて結果を呼び出し元へ返すブロックを登録します。

...ド名を指定します。引数を省略した場合は、すべて
のイベントを対象とするブロックの登録となります。

WIN32OLE_EVENT#on_eventと異なり、イベントのブロック変数に戻り値を
設定できます。

@param event イベント名を文字列かシ...
...。イベント名は大文
字小文字を区別します。省略時にはすべてのイベントが対象となります。

@param args サーバがイベント通知時に指定した引数の配列です。
eventパラメータを省略した場合、第1要素には...
...2OLERuntimeError WIN32OLE_EVENT#unadviseによってイベン
トソースと切断済みです。

ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event('BeforeNavigate2') do |*args|
args
[6] = true unles...

絞り込み条件を変える

Fiddle::Closure::BlockCaller#call(*args) -> object (9307.0)

wrap しているブロックを呼び出します。

...wrap しているブロックを呼び出します。

そのブロックの返り値がこのメソッドの返り値となります。

@param args 引数...

WIN32OLE_EVENT#handler=(obj) -> () (9218.0)

イベント処理を実行するオブジェクトを登録します。

...るにはnilを指定します。

class IeHandler
def initialize
@completed = false
end
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
end
@completed = tru...
..., *args)
puts "event=#{id.to_s}, args=#{args.inspect}"
end
end

ie = WIN32OLE.new('InternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
l
oop do
break if event.handler....
...completed
WIN32OLE_EVENT.message_loop
end
ie.Quit

WIN32OLE_EVENT#on_eventなどの呼び出しでブロックが登録されている場
合、そちらが優先されます。...

Fiddle::Closure::BlockCaller.new(ret, args, abi=Fiddle::Function::DEFAULT) { ... } -> Fiddle::Closure::BlockCaller (6513.0)

Ruby のブロックを呼び出す Fiddle::Closure オブジェクトを返します。

...クを呼び出す Fiddle::Closure オブジェクトを返します。


args
、ret で関数の引数と返り値の型を指定します。
指定は Fiddle::Function.new と同様なので、そちら
を参照してください。

@param ret 返り値の型
@param args 引数の型を表す配...

Pathname#each_line(*args) {|line| ... } -> nil (6418.0)

IO.foreach(self.to_s, *args, &block) と同じです。

...self.to_s, *args, &block) と同じです。

//emlist[例][ruby]{
require "pathname"

IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line
# => #<Enumerator: IO:foreach("testfile")>
//}

//emlist[例 ブロックを指定][ruby]{
require "pathname"

IO.write("testfile", "li...
...e1\nline2,\nline3\n")
Pathname("testfile").each_line {|f| p f }

# => "line1\n"
# => "line2,\n"
# => "line3\n"
//}

//emlist[例 limit を指定][ruby]{
require "pathname"

IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(4) {|f| p f }

# => "line"
# => "1\n"
# => "line"...
...# => "2,\n"
# => "line"
# => "3\n"
//}

//emlist[例 sep を指定][ruby]{
require "pathname"

IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(",") {|f| p f }

# => "line1\nline2,"
# => "\nline3\n"
//}

@see IO.foreach...

Kernel#file(*args) { ... } -> Rake::FileTask (6407.0)

ファイルタスクを定義します。

...ます。

@param args ファイル名と依存ファイル名を指定します。

例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end...

絞り込み条件を変える

<< 1 2 3 ... > >>