1221件ヒット
[1-100件を表示]
(0.153秒)
ライブラリ
- ビルトイン (337)
- benchmark (12)
-
cgi
/ core (48) - csv (12)
- delegate (12)
- fiddle (36)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / rational (12) -
json
/ add / symbol (12) -
minitest
/ mock (1) -
minitest
/ unit (1) -
net
/ ftp (60) - openssl (24)
- optparse (72)
- pathname (132)
- rake (132)
- ripper (24)
-
rubygems
/ command (24) -
rubygems
/ config _ file (12) -
rubygems
/ user _ interaction (72) - set (18)
- un (12)
- win32ole (120)
- zlib (12)
クラス
-
Benchmark
:: Tms (12) - BigDecimal (12)
-
CSV
:: Row (12) - Class (24)
- Complex (12)
- Delegator (12)
- Enumerator (24)
-
Enumerator
:: Lazy (72) -
Fiddle
:: Closure (12) -
Fiddle
:: Closure :: BlockCaller (12) -
Fiddle
:: Function (12) -
Gem
:: Command (24) -
Gem
:: ConfigFile (12) -
Gem
:: StreamUI (12) - Method (24)
-
MiniTest
:: Mock (1) -
MiniTest
:: Unit (1) - Module (36)
-
Net
:: FTP (60) - Object (48)
- OptionParser (72)
- Pathname (132)
-
Rake
:: Task (12) - Rational (12)
- Ripper (24)
- Symbol (12)
- UnboundMethod (12)
- WIN32OLE (84)
-
WIN32OLE
_ EVENT (36) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: QueryExtension (36) -
CGI
:: QueryExtension :: Value (12) - Enumerable (115)
- FileUtils (24)
-
Gem
:: UserInteraction (60) - Kernel (72)
-
OpenSSL
:: Buffering (24) -
Rake
:: TaskManager (36)
キーワード
- [] (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) - allocate (12)
-
ask
_ yes _ no (12) -
bind
_ call (12) - binread (12)
- binwrite (12)
- call (48)
-
choose
_ from _ list (12) -
class
_ exec (12) -
create
_ rule (12) -
define
_ task (12) - dir (12)
- each (12)
-
each
_ line (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - entries (12)
-
enum
_ for (24) - execute (12)
- expect (1)
- file (12)
-
file
_ create (12) - fnmatch (12)
- fnmatch? (12)
- force (12)
- format (12)
- handler= (12)
- handles? (12)
-
has
_ key? (12) - include? (12)
- initialize (12)
- invoke (12)
- key? (12)
- list (24)
- ls (24)
-
method
_ missing (24) - mkmf (12)
-
module
_ exec (12) - multitask (12)
- new (12)
-
next
_ values (12) -
on
_ event (12) -
on
_ event _ with _ outargs (12) - open (24)
- order (36)
- parse (18)
- permute (18)
- print (12)
- printf (24)
-
progress
_ reporter (12) -
public
_ send (24) - push (12)
- read (12)
- readlines (12)
-
resolve
_ args (12) -
respond
_ to _ missing? (12) - ruby (12)
-
ruby2
_ keywords (12) - rule (12)
- run (1)
-
safe
_ ln (12) - setproperty (24)
- task (12)
-
to
_ a (12) -
to
_ enum (24) -
to
_ h (19) -
to
_ json (48) -
to
_ set (24) - warn (12)
- warning (12)
-
with
_ index (12)
検索結果
先頭5件
-
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/'
loop 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 を定義するために使用します。...