るりまサーチ

最速Rubyリファレンスマニュアル検索!
256件ヒット [101-200件を表示] (0.057秒)

別のキーワード

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

検索結果

<< < 1 2 3 > >>

OptionParser::Arguable#permute! -> [String] (12207.0)

自身を破壊的にパースし、パースされずに残った引数を文字列の配列として返します。 OptionParser#permute! を参照して下さい。

...数を文字列の配列として返します。
OptionParser#permute! を参照して下さい。

@raise OptionParser::ParseError 自身のパースに失敗した場合、発生します。
実際は OptionParser::ParseError のサブク...
...ラスの例外になります。

//emlist[][ruby]{
require 'optparse'

o = nil
ARGV.options.on('-a'){ o = true }
ARGV.permute!
p
o #=> true
//}...

Array#permutation(n = self.length) -> Enumerator (12202.0)

サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。

...オブジェクトを返します。

@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。

@raise TypeError 引数に整数以外の(暗黙...
....permutation.to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
a.permutation(1).to_a #=> [[1],[2],[3]]
a.permutation(2).to_a #=> [[1,2],[1,3],[2,1],[2,3],[3,1],[3,2]]
a.permutation(3).to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
a.permutation(0).to_a #=> [[]]: one perm...
...tation of length 0
a.permutation(4).to_a #=> [] : no permutations of length 4
//}

ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。

//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.permutation(2) {|e| resul...

Array#permutation(n = self.length) { |p| block } -> self (12202.0)

サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。

...オブジェクトを返します。

@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。

@raise TypeError 引数に整数以外の(暗黙...
....permutation.to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
a.permutation(1).to_a #=> [[1],[2],[3]]
a.permutation(2).to_a #=> [[1,2],[1,3],[2,1],[2,3],[3,1],[3,2]]
a.permutation(3).to_a #=> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
a.permutation(0).to_a #=> [[]]: one perm...
...tation of length 0
a.permutation(4).to_a #=> [] : no permutations of length 4
//}

ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。

//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.permutation(2) {|e| resul...

Matrix#permutation? -> bool (12201.0)

行列が置換行列ならば true を返します。

...行列が置換行列ならば true を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します...

Net::HTTPGenericRequest#request_body_permitted? -> bool (12201.0)

リクエストにエンティティボディを一緒に送ることが許されている HTTP メソッド (POST など)の場合真を返します。

...許されている
HTTP メソッド (POST など)の場合真を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
p
ost = Net::HTTP::Post.new(uri.request_uri)
p
ost.request_body_permitted? # => true

head = Net::HTTP::Head.new(uri.request...
..._uri)
head.request_body_permitted? # => false
//}...

絞り込み条件を変える

Net::HTTPGenericRequest#response_body_permitted? -> bool (12201.0)

サーバからのレスポンスにエンティティボディを含むことが許されている HTTP メソッド (GET, POST など)の場合真を返します。

...TP メソッド (GET, POST など)の場合真を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
p
ost = Net::HTTP::Post.new(uri.request_uri)
p
ost.response_body_permitted? # => true

head = Net::HTTP::Head.new(uri.request_uri)
head.resp...
...onse_body_permitted? # => false
//}...

RSS::Maker::RSS20::Items::Item::Guid#isPermaLink (12201.0)

@todo

@todo

RSS::Maker::RSS20::Items::Item::Guid#isPermaLink=() (12201.0)

@todo

@todo

RSS::Rss::Channel::Item::Guid#isPermaLink (12201.0)

@todo

...@todo

* http://purl.org/dc/elements/1.1/...
<< < 1 2 3 > >>