432件ヒット
[101-200件を表示]
(0.058秒)
種類
- インスタンスメソッド (312)
- ライブラリ (60)
- 特異メソッド (36)
- 文書 (12)
- クラス (12)
ライブラリ
- ビルトイン (36)
- mkmf (48)
-
net
/ http (24) -
net
/ imap (72) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ gem _ path _ searcher (96) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (36) - strscan (12)
- uri (12)
クラス
-
Encoding
:: Converter (24) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: GemPathSearcher (84) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (36) -
Net
:: HTTP (24) -
Net
:: IMAP (72) - String (12)
- StringScanner (12)
-
URI
:: HTTP (12)
モジュール
- Kernel (48)
キーワード
- GemPathSearcher (12)
-
check
_ signedness (24) -
convertible
_ int (24) - convpath (12)
- find (12)
-
find
_ all (12) -
find
_ gems (12) -
init
_ gemspecs (12) -
lib
_ dirs _ for (12) -
matching
_ file? (12) -
matching
_ files (12) -
net
/ http (12) -
net
/ imap (12) - new (12)
- post (24)
- rake (12)
-
request
_ uri (12) -
ruby 1
. 6 feature (12) - rubygems (12)
-
rubygems
/ gem _ path _ searcher (12) -
search
_ convpath (12) -
search
_ full (12) -
search
_ with _ source (12) - sort (12)
- thread (12)
-
tr
_ s! (12) -
uid
_ search (12) -
uid
_ sort (12) -
uid
_ thread (12)
検索結果
先頭5件
- Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] - StringScanner
# search _ full(regexp , s , f) -> object - Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse - Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse - Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array
-
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (9159.0) -
UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。
...UID SEARCH コマンドを送り、条件に合うメッセージの UID
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは文字列で渡......さい。
例:
p imap.uid_search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.uid_search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.uid_search('SUBJECT "hello"')
#=> [1, 6, 7, 8]
@param key 検索キー(文字列の配列もしくは文字列)
@param charset......検索に用いるcharset
@see Net::IMAP#uid_search... -
StringScanner
# search _ full(regexp , s , f) -> object (6261.0) -
regexp で指定された正規表現とマッチするまで文字列をスキャンします。
...regexp で指定された正規表現とマッチするまで文字列をスキャンします。
マッチに成功すると、s と f の値によって以下のように動作します。
* s が true ならばスキャンポインタを進めます。
* s が false ならばスキャ......ります。
* search_full(regexp, true, true) は StringScanner#scan_until と同等。
* search_full(regexp, true, false) は StringScanner#skip_until と同等。
* search_full(regexp, false, true) は StringScanner#check_until と同等。
* search_full(regexp, false, false) は......StringScanner#exist? と同等。
@param regexp マッチに用いる正規表現を指定します。
@param s true ならばスキャンポインタを進めます。
false ならばスキャンポインタを進めません。
@param f true ならばマッチした部分文字列を... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse (6218.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。
返り値は Net::HTTPResponse のインスタンスです。
ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え......。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded"......t[例][ruby]{
# net/http version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&t... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (6218.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。
返り値は Net::HTTPResponse のインスタンスです。
ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え......。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded"......t[例][ruby]{
# net/http version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&t... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (6201.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返......します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。... -
Gem
:: GemPathSearcher . new -> Gem :: GemPathSearcher (6200.0) -
検索を行うのに必要なデータを初期化します。
検索を行うのに必要なデータを初期化します。 -
Encoding
:: Converter # convpath -> Array (6112.0) -
変換器が行う変換の経路を配列にして返します。
...う変換の経路の配列
//emlist[][ruby]{
ec = Encoding::Converter.new("ISo-8859-1", "EUC-JP", crlf_newline: true)
p ec.convpath
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "crlf_newline"]
//}
@see Encoding::Converter.search_convpath... -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (6100.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
...与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Enumerable#find... -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (6100.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
...与えられたパスにマッチする Gem::Specification を全て返します。
@see Enumerable#find_all...