403件ヒット
[1-100件を表示]
(0.108秒)
クラス
- MatchData (4)
-
Net
:: FTP (18) -
Net
:: FTP :: MLSxEntry (9) - Object (11)
-
OpenSSL
:: PKey :: EC (22) -
OpenSSL
:: PKey :: EC :: Group (110) -
OpenSSL
:: PKey :: EC :: Point (55) - PrettyPrint (12)
モジュール
- Enumerable (66)
- FileUtils (30)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NAMED
_ CURVE (11) - Ruby用語集 (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
-
asn1
_ flag (11) -
builtin
_ curves (11) - byteoffset (4)
- chown (11)
-
chown
_ R (11) -
curve
_ name (11) - degree (11)
- facts (9)
- first? (1)
- generator (11)
-
group
_ by (22) -
max
_ by (44) - mlsd (18)
- new (33)
-
on
_ curve? (11) -
point
_ conversion _ form (11) -
point
_ conversion _ form= (11) -
pretty
_ print (11) - prettyprint (11)
-
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - seed (11)
-
to
_ der (11) -
to
_ pem (11) -
to
_ text (11)
検索結果
先頭5件
- OpenSSL
:: PKey :: EC :: Point # group -> OpenSSL :: PKey :: EC :: Group - PrettyPrint
# group(indent = 0 , open _ obj = & # 39;& # 39; , close _ obj = & # 39;& # 39; , open _ width = open _ obj . length , close _ width = close _ obj . length) { . . . } -> () - Enumerable
# group _ by -> Enumerator - Enumerable
# group _ by {|obj| . . . } -> Hash - Object
# pretty _ print(pp) -> ()
-
OpenSSL
:: PKey :: EC :: Point # group -> OpenSSL :: PKey :: EC :: Group (24302.0) -
自身と関連付けられた群を返します。
自身と関連付けられた群を返します。 -
PrettyPrint
# group(indent = 0 , open _ obj = & # 39;& # 39; , close _ obj = & # 39;& # 39; , open _ width = open _ obj . length , close _ width = close _ obj . length) { . . . } -> () (24207.0) -
与えられたブロックを実行します。 ブロック内で自身に追加される文字列やオブジェクトは、1行にまとめて表示しても よい同じグループに属すると仮定されます。
...属すると仮定されます。
もう少し詳しく説明します。pretty printing アルゴリズムはインデントと改行を、
ツリー構造を作ることによって決定します。そして、group メソッドは子ノードの作成と
子ノードのインデントの深さ......た breakable は、改行するならば全て同時に改行します。
@param indent グループのインデントの深さを指定します。
@param open_obj 指定された場合、self.text(open_obj, open_width) がブロックが
実行される前に呼ばれます。......た場合、self.text(close_obj, close_width) がブロックが
実行された後に呼ばれます。閉じ括弧などを出力するのに使用されます。
@param open_width open_obj のカラムを指定します。
@param close_width close_obj のカラムを指定し... -
Enumerable
# group _ by -> Enumerator (12220.0) -
ブロックを評価した結果をキー、対応する要素の配列を値とするハッシュを返します。
...ブロックを評価した結果をキー、対応する要素の配列を値とするハッシュを返します。
//emlist[例][ruby]{
(1..6).group_by {|i| i%3} #=> {0=>[3, 6], 1=>[1, 4], 2=>[2, 5]}
//}
ブロックを省略した場合は Enumerator を返します。... -
Enumerable
# group _ by {|obj| . . . } -> Hash (12220.0) -
ブロックを評価した結果をキー、対応する要素の配列を値とするハッシュを返します。
...ブロックを評価した結果をキー、対応する要素の配列を値とするハッシュを返します。
//emlist[例][ruby]{
(1..6).group_by {|i| i%3} #=> {0=>[3, 6], 1=>[1, 4], 2=>[2, 5]}
//}
ブロックを省略した場合は Enumerator を返します。... -
Object
# pretty _ print(pp) -> () (12212.0) -
PP.pp や Kernel.#pp がオブジェクトの内容を出力するときに 呼ばれるメソッドです。PP オブジェクト pp を引数として呼ばれます。
...します。
そのとき pretty_print メソッドは指定された pp に対して表示したい自身の内容を追加して
いかなければいけません。いくつかの組み込みクラスについて、
pp ライブラリはあらかじめ pretty_print メソッドを定義してい......ブジェクトです。
//emlist[][ruby]{
require 'pp'
class Array
def pretty_print(q)
q.group(1, '[', ']') {
q.seplist(self) {|v|
q.pp v
}
}
end
end
//}
@see Object#pretty_print_cycle, Object#inspect, PrettyPrint#text, PrettyPrint#group, PrettyPrint#breakable......@param pp PP オブジェクトです。
//emlist[][ruby]{
class Array
def pretty_print(q)
q.group(1, '[', ']') {
q.seplist(self) {|v|
q.pp v
}
}
end
end
//}
@see Object#pretty_print_cycle, Object#inspect, PrettyPrint#text, PrettyPrint#group, PrettyPrint#breakable... -
OpenSSL
:: PKey :: EC :: Group # point _ conversion _ form -> Symbol (12212.0) -
点のエンコーディング方式を返します。
...:compressed
* :uncompressed
* :hybrid
詳しくは X9.62 (ECDSA) などを参照してください。
@raise OpenSSL::PKey::EC::Group::Error 得られたエンコーディングが未知の値であった
場合に発生します。
@see OpenSSL::PKey::EC::Group#point_conversion_form=... -
OpenSSL
:: PKey :: EC :: Group # point _ conversion _ form=(sym) (12206.0) -
点のエンコーディング方式を設定します。
...エンコーディング方式を設定します。
以下のいずれかを設定します。
* :compressed
* :uncompressed
* :hybrid
詳しくは X9.62 (ECDSA) などを参照してください。
@param sym 設定する方式(Symbol)
@see OpenSSL::PKey::EC::Group#point_conversion_form... -
prettyprint (12012.0)
-
pretty printing アルゴリズムのためのライブラリです。
...pretty printing アルゴリズムのためのライブラリです。
=== 使い方
pretty printing アルゴリズムは読みやすいインデントと改行を決定するためのアルゴリズムです。
インデントと改行はユーザによって与えられたツリー構造から......成する必要があります。
* PrettyPrint.new でバッファを生成します。このとき、バッファの幅と改行文字を指定します。
* PrettyPrint#text を使って、文字列を適宜 挿入します。
* PrettyPrint#group を使って子ノードをつくります。......PrettyPrint#breakable を使って改行しても良い場所を指定します。
同じノード内で呼ばれた breakable は、改行するならば全て同時に改行します。
//emlist[][ruby]{
require 'prettyprint'
p2 = PrettyPrint.new('', 10)
s = 'hello'
p2.text(s)
p2.group(p2.inden... -
FileUtils
. options -> Array (9206.0) -
オプション名の配列を返します。
...オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}... -
OpenSSL
:: PKey :: EC . builtin _ curves -> [[String , String]] (9106.0) -
組み込みの曲線の名前と、それに対する説明を文字列の配列ペアの配列で返します。
...quire 'openssl'
OpenSSL::PKey::EC.builtin_curves
# => [["secp112r1", "SECG/WTLS curve over a 112 bit prime field"],
# ["secp112r2", "SECG curve over a 112 bit prime field"],
# ["secp128r1", "SECG curve over a 128 bit prime field"],
# ["secp128r2", "SECG curve over a 128 bit......prime field"],
# ... ]
@see OpenSSL::PKey::EC::Group.new...