46件ヒット
[1-46件を表示]
(0.070秒)
ライブラリ
- ビルトイン (24)
-
net
/ ftp (10) - prettyprint (12)
クラス
-
Net
:: FTP :: MLSxEntry (10) - PrettyPrint (12)
- ThreadGroup (24)
検索結果
先頭4件
-
PrettyPrint
# group(indent = 0 , open _ obj = & # 39;& # 39; , close _ obj = & # 39;& # 39; , open _ width = open _ obj . length , close _ width = close _ obj . length) { . . . } -> () (18408.0) -
与えられたブロックを実行します。 ブロック内で自身に追加される文字列やオブジェクトは、1行にまとめて表示しても よい同じグループに属すると仮定されます。
...す。pretty printing アルゴリズムはインデントと改行を、
ツリー構造を作ることによって決定します。そして、group メソッドは子ノードの作成と
子ノードのインデントの深さの決定を担当します。
同じノード内で呼ばれた bre......ram close_obj 指定された場合、self.text(close_obj, close_width) がブロックが
実行された後に呼ばれます。閉じ括弧などを出力するのに使用されます。
@param open_width open_obj のカラムを指定します。
@param close_width close_obj... -
ThreadGroup
# enclose -> self (9113.0) -
自身への ThreadGroup#add によるスレッドの追加・削除を禁止します。 enclose された ThreadGroup に追加や削除を行うと例外 ThreadError が発生します。
...自身への ThreadGroup#add によるスレッドの追加・削除を禁止します。
enclose された ThreadGroup に追加や削除を行うと例外 ThreadError が発生します。
ただし、Thread.new によるスレッドの追加は禁止されません。enclose されたスレッ......追加の例:
thg = ThreadGroup.new.enclose
thg.add Thread.new {}
=> -:2:in `add': can't move to the enclosed thread group (ThreadError)
削除の例:
thg1 = ThreadGroup.new
thg2 = ThreadGroup.new
th = Thread.new {sleep 1}
thg1.add th
thg1.enclose
thg2.add th
=> -:8:in `......add': can't move from the enclosed thread group (ThreadError)... -
ThreadGroup
# enclosed? -> bool (9101.0) -
自身が enclose されているなら true を返します。そうでないなら false を返します。デフォルトは false です。
...close されているなら true を返します。そうでないなら false を返します。デフォルトは false です。
freeze された ThreadGroup には Thread の追加/削除ができませんが、enclosed? は false を返します。
thg = ThreadGroup.new
p thg.enclosed......? # => false
thg.enclose
p thg.enclosed? # => true
thg = ThreadGroup.new
p thg.enclosed? # => false
thg.freeze
p thg.enclosed? # => false
@see ThreadGroup#enclose... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (13.0) -
そのエントリの「facts」を返します。
...* "charset": 文字エンコーディング (String)
サーバが UNIX 系 OS の場合は以下のような facts が
使える可能性があります。
* "unix.mode": ファイルモード(Integer)
* "unix.group": グループ(Integer)
* "unix.owner": ファイルのオーナー(Intege...