192件ヒット
[1-100件を表示]
(0.084秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
net
/ http (24) -
net
/ imap (72) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (24) - strscan (12)
クラス
-
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: GemPathSearcher (24) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (24) -
Net
:: HTTP (24) -
Net
:: IMAP (72) - String (12)
- StringScanner (12)
キーワード
-
find
_ gems (12) -
matching
_ file? (12) -
matching
_ files (12) - post (24)
-
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 # search(keys , charset = nil) -> [Integer] - Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] - Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] - StringScanner
# search _ full(regexp , s , f) -> object - Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer]
-
Net
:: IMAP # search(keys , charset = nil) -> [Integer] (18154.0) -
SEARCH コマンドを送り、条件に合うメッセージの message sequence number を配列で返します。
...SEARCH コマンドを送り、条件に合うメッセージの message sequence number
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは......い。
例:
p imap.search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.search(["SUBJECT", "hello", "FROM", "foo@example.com"])
#=> [6, 7]
p imap.search('SUBJECT "hello"')
#=> [1, 6, 7, 8]
@param key 検索キー(文字列の配列もしくは文字列)
@param charset 検索に用い......るcharset
@see Net::IMAP#search... -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (18126.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
...トを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定する......とキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search... -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (18114.0) -
引数で指定された条件を満たす Gem のリストを返します。
...引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。... -
StringScanner
# search _ full(regexp , s , f) -> object (6162.0) -
regexp で指定された正規表現とマッチするまで文字列をスキャンします。
...になります。
* 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, fals......e) は StringScanner#exist? と同等。
@param regexp マッチに用いる正規表現を指定します。
@param s true ならばスキャンポインタを進めます。
false ならばスキャンポインタを進めません。
@param f true ならばマッチした部分文字......ます。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
p s.search_full(/t/, true, true) #=> "t"
p s.search_full(/str/, false, true) #=> "est str"
p s.search_full(/string/, true, true) #=> "est string"
//}
@see StringScanner#scan_until StringScanner#ski... -
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (6154.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... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (6120.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...トを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定する... -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (3013.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
...与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。... -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (3013.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
...与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。... -
Net
:: IMAP # sort(sort _ keys , search _ keys , charset) -> [Integer] (139.0) -
SORT コマンド送り、メールボックス内の メッセージをソートした結果を返します。
...OM", "TO", "SUBJECT" などが指定できます。
詳しくは 5265 の BASE.6.4.SORT の所を見てください。
search_key には検索条件を渡します。Net::IMAP#search と
ほぼ同じです。この条件にマッチするメッセージのみがソートされます。
Net::IMAP#e......], "US-ASCII")
#=> [1, 2, 3, 5, 6, 7, 8, 4, 9]
p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")
#=> [6, 7, 8, 1]
@param sort_key ソート順のキー(文字列配列)
@param search_key 検索条件(文字列配列)
@param charset 検索条件の解釈に用いるCHARSET名(文字列)...