るりまサーチ

最速Rubyリファレンスマニュアル検索!
432件ヒット [101-200件を表示] (0.058秒)
トップページ > クエリ:p[x] > クエリ:search[x]

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. kernel p
  5. dsa p

検索結果

<< < 1 2 3 4 ... > >>

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 を
P
OST で送ります。

返り値は Net::HTTPResponse のインスタンスです。

ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え...
...。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。

P
OST する場合にはヘッダに 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 を
P
OST で送ります。

返り値は Net::HTTPResponse のインスタンスです。

ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え...
...。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。

P
OST する場合にはヘッダに 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...
<< < 1 2 3 4 ... > >>