るりまサーチ

最速Rubyリファレンスマニュアル検索!
1109件ヒット [1-100件を表示] (0.121秒)

別のキーワード

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

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

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

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

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

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

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

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

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

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

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

WIN32OLE_EVENT#on_event_with_outargs(event = nil) {|*args| ... } -> () (9326.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 (9208.0)

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

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

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

@param args 引数...

絞り込み条件を変える

WIN32OLE_EVENT#handler=(obj) -> () (9119.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などの呼び出しでブロックが登録されている場
合、そちらが優先されます。...

Pathname#each_line(*args) {|line| ... } -> nil (6319.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 (6308.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...

Kernel#file_create(*args) { ... } -> Rake::FileCreationTask (6302.0)

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

...ファイルを作成するタスクを定義します。

主に Kernel.#directory を定義するために使用します。...

Kernel#multitask(args) { ... } -> Rake::MultiTask (6302.0)

事前タスクを並列実行するタスクを定義します。

...事前タスクを並列実行するタスクを定義します。

与えられた事前タスクを実行する順序は不定です。

例:
multitask :deploy => [:deploy_gem, :deploy_rdoc]...

絞り込み条件を変える

<< 1 2 3 ... > >>