ライブラリ
- ビルトイン (30)
- etc (12)
-
irb
/ cmd / chws (12) - observer (24)
-
rdoc
/ context (12) -
rdoc
/ parser / changelog (12) - resolv (12)
- un (12)
クラス
-
Encoding
:: Converter (12) -
Etc
:: Passwd (12) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) - Module (12)
- Proc (6)
-
RDoc
:: Context (12) -
RDoc
:: Parser :: ChangeLog (12) -
Resolv
:: DNS :: Resource :: MX (12)
モジュール
- Kernel (12)
- Observable (24)
キーワード
- changed (12)
- changed? (12)
- chmod (12)
- exchange (12)
- execute (12)
-
insert
_ output (12) -
ongoing
_ visibility= (12) -
ruby2
_ keywords (18) - scan (12)
検索結果
先頭5件
-
Etc
:: Passwd # change -> Integer (18202.0) -
パスワード変更時間(整数)を返します。このメンバはシステム依存です。
パスワード変更時間(整数)を返します。このメンバはシステム依存です。 -
Resolv
:: DNS :: Resource :: MX # exchange -> Resolv :: DNS :: Name (12201.0) -
MXのホスト名を返します。
MXのホスト名を返します。 -
Observable
# changed(state = true) -> bool (9201.0) -
更新フラグを立てます。
...を指定された内容へ変更し、変更後の更新フラグの状態を返します。
明示的に引数を指定して、更新フラグを初期化することも出来ます。
@param state 更新フラグを立てる場合はtrueを、初期化する場合はfalseを指定します。... -
Encoding
:: Converter # insert _ output(string) -> nil (9107.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
...@param string 挿入する文字列
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
src = "HIRAGANA LETTER A is \u{3042}."
dst = ""
p ec.primitive_convert(src, dst) #=> :undefined_conversion
puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is ", "."]
ec.insert_o......err>")
p ec.primitive_convert(src, dst) #=> :finished
puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is <err>.", ""]
ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
src = "\u{306F 3041 3068 2661 3002}" # U+2661 is not representable in iso-2022-jp
dst = ""
p ec.primitive_convert......(src, dst) #=> :undefined_conversion
puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H".force_encoding("ISO-2022-JP"), "\xE3\ x80\x82"]
ec.insert_output "?" # state change required to output "?".
p ec.primitive_convert(src, dst) #=> :finished
puts "[#{dst.dump}, #{src.dum... -
Observable
# changed? -> bool (9101.0) -
更新フラグの状態を返します。
更新フラグの状態を返します。 -
Module
# ruby2 _ keywords(method _ name , . . . ) -> nil (6107.0) -
For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.
...For the given method names, marks the method as passing keywords through
a normal argument splat. This should only be called on methods that
accept an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword argument......ash argument is marked with a special
flag such that if it is the final element of a normal argument splat to
another method call, and that method call does not include explicit
keywords or a keyword splat, the final element is interpreted as
keywords. In other words, keywords will be passed through......other methods.
This should only be used for methods that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby version... -
Proc
# ruby2 _ keywords -> proc (6107.0) -
Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.
...Marks the proc as passing keywords through a normal argument splat. This
should only be called on procs that accept an argument splat (`*args`)
but not explicit keywords or a keyword splat. It marks the proc such
that if the proc is called with keyword arguments, the final hash
argument is marked......ormal argument splat to another method call, and that
method call does not include explicit keywords or a keyword splat, the
final element is interpreted as keywords. In other words, keywords will
be passed through the proc to other methods.
This should only be used for procs that delegate keyword......s to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the proc responds to this method before calling
it... -
RDoc
:: Parser :: ChangeLog # scan -> RDoc :: TopLevel (6101.0) -
ChangeLog ファイルを解析します。
...
ChangeLog ファイルを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
IRB
:: ExtendCommand :: ChangeWorkspace # execute(*obj) -> obj (6001.0) -
irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。
...irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。
@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。...