337件ヒット
[1-100件を表示]
(0.083秒)
ライブラリ
-
irb
/ context (60) -
irb
/ ext / history (12) -
irb
/ ext / save-history (12) -
net
/ imap (24) - openssl (132)
- pp (24)
- prettyprint (37)
- rexml (12)
- win32ole (24)
クラス
-
IRB
:: Context (84) -
Net
:: IMAP :: BodyTypeText (24) - Object (24)
-
OpenSSL
:: SSL :: SSLContext (108) -
OpenSSL
:: X509 :: StoreContext (24) - PrettyPrint (37)
-
REXML
:: ParseException (12) -
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ TYPE (12)
キーワード
-
back
_ trace _ limit (12) - ciphers (12)
- context (12)
-
debug
_ level (12) - error (12)
-
error
_ depth (12) -
eval
_ history (12) - first? (1)
- group (12)
- helpcontext (24)
-
ignore
_ sigint (12) -
ignore
_ sigint= (12) -
ignore
_ sigint? (12) - lines (12)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) -
save
_ history (12) -
session
_ cache _ mode (12) -
session
_ cache _ size (12) -
session
_ cache _ stats (12) - size (12)
-
ssl
_ timeout (12) - timeout (12)
-
verify
_ depth (12) -
verify
_ mode (12)
検索結果
先頭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...