509件ヒット
[1-100件を表示]
(0.110秒)
種類
- インスタンスメソッド (380)
- モジュール関数 (77)
- 特異メソッド (52)
ライブラリ
- ビルトイン (322)
-
cgi
/ html (22) - erb (18)
- logger (8)
-
net
/ imap (22) - optparse (22)
-
rubygems
/ command (11) -
rubygems
/ package / tar _ input (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - tmpdir (11)
-
webrick
/ httpservlet / filehandler (22) -
webrick
/ httpstatus (11) -
webrick
/ utils (11)
クラス
- Class (11)
- Dir (11)
- ERB (18)
- File (11)
-
Gem
:: Command (11) -
Gem
:: Package :: TarInput (11) - Logger (8)
-
Net
:: IMAP (22) - OptionParser (22)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (223)
- Symbol (22)
-
WEBrick
:: HTTPServlet :: FileHandler (22)
モジュール
-
CGI
:: HtmlExtension (22) - Kernel (44)
-
Process
:: Sys (11) -
WEBrick
:: HTTPStatus (11) -
WEBrick
:: Utils (11)
キーワード
- [] (22)
- []= (11)
-
add
_ handler (11) - basename (29)
-
delete
_ suffix (7) -
delete
_ suffix! (7) -
extract
_ entry (11) - gsub (66)
- gsub! (44)
- include? (11)
- inherited (11)
- mktmpdir (11)
- new (8)
-
remove
_ handler (11) - result (11)
-
result
_ with _ hash (7) - setresuid (11)
- slice (22)
- sub (55)
- sub! (33)
- submit (22)
- subscribe (11)
- success? (11)
- sum (11)
- summarize (22)
- summary= (11)
- unsubscribe (11)
検索結果
先頭5件
- WEBrick
:: Utils . # su(user) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () - Net
:: IMAP # subscribe(mailbox) -> Net :: IMAP :: TaggedResponse - Net
:: IMAP # unsubscribe(mailbox) -> Net :: IMAP :: TaggedResponse
-
WEBrick
:: Utils . # su(user) -> () (24107.0) -
指定されたユーザに Process::Sys.#setuid, Process::Sys.#setgid します。
...指定されたユーザに Process::Sys.#setuid,
Process::Sys.#setgid します。
setuid できないプラットフォームでは警告を表示し、何もしません。
@param user ユーザを指定します。... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (18542.0) -
サマリを指定された to へと加えていきます。
...せん。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマ......す。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8......, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (18542.0) -
サマリを指定された to へと加えていきます。
...せん。
@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。
@param width サマリの幅を整数で指定します。
@param max サマリの最大幅を整数で指定します。
@param indent サマ......す。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8......, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
Net
:: IMAP # subscribe(mailbox) -> Net :: IMAP :: TaggedResponse (18306.0) -
SUBSCRIBE コマンドを送り、指定したメールボックスを "active" もしくは "subscribe" なメールボックスの集合に 追加します。
...SUBSCRIBE コマンドを送り、指定したメールボックスを
"active" もしくは "subscribe" なメールボックスの集合に
追加します。
@param mailbox 追加するメールボックスの名前(文字列)
@raise Net::IMAP::NoResponseError 指定した名前のメールボ... -
Net
:: IMAP # unsubscribe(mailbox) -> Net :: IMAP :: TaggedResponse (18306.0) -
UNSUBSCRIBE コマンドを送り、指定したメールボックスを "active" もしくは "subscribe" なメールボックスの集合から 削除します。
...UNSUBSCRIBE コマンドを送り、指定したメールボックスを
"active" もしくは "subscribe" なメールボックスの集合から
削除します。
@param mailbox 削除するするメールボックスの名前(文字列)
@raise Net::IMAP::NoResponseError 指定した名前のメ......ールボックスを
削除できなかった場合に発生します。
指定した名前のメールボックスが active/subscribe でなかった
場合などに発生します。... -
String
# delete _ suffix(suffix) -> String (15506.0) -
文字列の末尾から suffix を削除した文字列のコピーを返します。
...から suffix を削除した文字列のコピーを返します。
@param suffix 末尾から削除する文字列を指定します。
@return 文字列の末尾から suffix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello".delete_suffix("he......l") # => "hello"
//}
@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?... -
String
# delete _ suffix!(suffix) -> self | nil (15406.0) -
self の末尾から破壊的に suffix を削除します。
...的に suffix を削除します。
@param suffix 末尾から削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => nil
//}
@see String#chomp!......@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?... -
Process
:: Sys . # setresuid(rid , eid , sid) -> nil (12618.0) -
システムコールの setresuid を呼びます。
...ムコールの setresuid を呼びます。
@param rid システムコールの引数を整数で指定します。
@param eid システムコールの引数を整数で指定します。
@param sid システムコールの引数を整数で指定します。
@raise NotImplementedError シス......テムコールが現在のプラットフォームで提供されていない場合に発生します。
@raise Errno::EXXX システムコールに失敗した場合に発生します。... -
CGI
:: HtmlExtension # submit(attributes) -> String (12408.0) -
タイプが submit である input 要素を生成します。
...タイプが submit である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
submit({ "VALUE" => "ok", "NAME" => "button1", "ID" => "foo" })
# <INPUT TYPE="submit" VALUE="ok" NAME="button1" ID="foo">... -
String
# gsub(pattern , hash) -> String (12315.0) -
文字列中の pattern にマッチした部分をキーにして hash を引いた値で置き換えます。
...た値で置き換えます。
@param pattern 置き換える文字列のパターン
@param hash 置き換える文字列を与えるハッシュ
//emlist[例][ruby]{
hash = {'b'=>'B', 'c'=>'C'}
p "abcabc".gsub(/[bc]/){hash[$&]} #=> "aBCaBC"
p "abcabc".gsub(/[bc]/, hash) #=> "aBCaBC"...