309件ヒット
[1-100件を表示]
(0.144秒)
ライブラリ
-
irb
/ context (55) -
irb
/ ext / history (11) -
irb
/ ext / save-history (11) -
net
/ imap (22) - openssl (121)
- pp (22)
- prettyprint (34)
- rexml (11)
- win32ole (22)
クラス
-
IRB
:: Context (77) -
Net
:: IMAP :: BodyTypeText (22) - Object (22)
-
OpenSSL
:: SSL :: SSLContext (99) -
OpenSSL
:: X509 :: StoreContext (22) - PrettyPrint (34)
-
REXML
:: ParseException (11) -
WIN32OLE
_ METHOD (11) -
WIN32OLE
_ TYPE (11)
キーワード
-
back
_ trace _ limit (11) - ciphers (11)
- context (11)
-
debug
_ level (11) - error (11)
-
error
_ depth (11) -
eval
_ history (11) - first? (1)
- group (11)
- helpcontext (22)
-
ignore
_ sigint (11) -
ignore
_ sigint= (11) -
ignore
_ sigint? (11) - lines (11)
-
pretty
_ print (11) -
pretty
_ print _ cycle (11) -
save
_ history (11) -
session
_ cache _ mode (11) -
session
_ cache _ size (11) -
session
_ cache _ stats (11) - size (11)
-
ssl
_ timeout (11) - timeout (11)
-
verify
_ depth (11) -
verify
_ mode (11)
検索結果
先頭5件
-
PrettyPrint
# text(obj) -> () (21103.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
PrettyPrint
# text(obj , width = obj . length) -> () (21103.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
IRB
:: Context # ignore _ sigint -> bool (9101.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...alse の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
IRB
:: Context # ignore _ sigint=(val) (9101.0) -
Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
...Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
.irbrc ファイル中で IRB.conf[:IGNORE_SIGINT] を設定する事でも同様の操作
が行えます。
@param val false を指定した場合、Ctrl-C の入力時に irb を終了します。......true を指定した場合、Ctrl-C の入力時に以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
@see IRB::Context#ignore_sigint... -
IRB
:: Context # ignore _ sigint? -> bool (9101.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...alse の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (6401.0) -
パースエラーが起きた(XML上の)場所を返します。
パースエラーが起きた(XML上の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値です。 -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (6201.0) -
メソッドのヘルプコンテキストを取得します。
...tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpcontext # => 65717
WIN32OLE_METHODオブジェクトを引数として、WIN32OLE.ole_show_helpで
ヘルプファイルを表示する場合には、WIN3... -
WIN32OLE
_ TYPE # helpcontext -> Integer | nil (6201.0) -
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。
...。
@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185... -
Object
# pretty _ print(pp) -> () (6107.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... -
Object
# pretty _ print _ cycle(pp) -> () (6107.0) -
プリティプリント時にオブジェクトの循環参照が検出された場合、 Object#pretty_print の代わりに呼ばれるメソッドです。
...int の代わりに呼ばれるメソッドです。
あるクラスの pp の出力をカスタマイズしたい場合は、
このメソッドも再定義する必要があります。
@param pp PP オブジェクトです。
//emlist[][ruby]{
class Array
def pretty_print_cycle(q)
q.text......(empty? ? '[]' : '[...]')
end
end
//}
@see Object#pretty_print...