112件ヒット
[101-112件を表示]
(0.021秒)
別のキーワード
種類
- インスタンスメソッド (60)
- 特異メソッド (48)
- モジュール関数 (4)
モジュール
- Kernel (4)
キーワード
-
object
_ group (12) - pp (28)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) - seplist (12)
-
sharing
_ detection (12) -
sharing
_ detection= (12) -
singleline
_ pp (12)
検索結果
-
PP
. sharing _ detection=(boolean) (8.0) -
共有検出フラグを表すアクセサです。 デフォルトは false です。true である場合、 PP.pp は一度出力したオブジェクトを再び出力する時 Object#pretty_print_cycle を使います。
...true である場合、
PP.pp は一度出力したオブジェクトを再び出力する時
Object#pretty_print_cycle を使います。
@param boolean 共有検出フラグを true か false で指定します。
//emlist[][ruby]{
require 'pp'
b = [1, 2, 3]
a = [b, b]
pp a......#=> [[1, 2, 3], [1, 2, 3]]
PP.sharing_detection = true
pp a #=> [[1, 2, 3], [...]]
//}......
PP.pp は一度出力したオブジェクトを再び出力する時
Object#pretty_print_cycle を使います。
@param boolean 共有検出フラグを true か false で指定します。
//emlist[][ruby]{
b = [1, 2, 3]
a = [b, b]
pp a #=> [[1, 2, 3], [1, 2, 3]]
PP.sh......aring_detection = true
pp a #=> [[1, 2, 3], [...]]
//}...