るりまサーチ

最速Rubyリファレンスマニュアル検索!
114件ヒット [1-100件を表示] (0.129秒)

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

Etc::Passwd#change -> Integer (18202.0)

パスワード変更時間(整数)を返します。このメンバはシステム依存です。

パスワード変更時間(整数)を返します。このメンバはシステム依存です。

Observable#changed(state = true) -> bool (6201.0)

更新フラグを立てます。

更新フラグを立てます。

更新フラグを指定された内容へ変更し、変更後の更新フラグの状態を返します。
明示的に引数を指定して、更新フラグを初期化することも出来ます。

@param state 更新フラグを立てる場合はtrueを、初期化する場合はfalseを指定します。

Observable#changed? -> bool (6201.0)

更新フラグの状態を返します。

更新フラグの状態を返します。

Resolv::DNS::Resource::MX#exchange -> Resolv::DNS::Name (6201.0)

MXのホスト名を返します。

MXのホスト名を返します。

IRB::ExtendCommand::ChangeWorkspace#execute(*obj) -> obj (3101.0)

irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。

irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。

@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。

絞り込み条件を変える

RDoc::Parser::ChangeLog#scan -> RDoc::TopLevel (3101.0)

ChangeLog ファイルを解析します。

...
Change
Log ファイルを解析します。

@return RDoc::TopLevel オブジェクトを返します。...

Encoding::Converter#insert_output(string) -> nil (179.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...
...ding::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.dump}]" #=> ["\e$B$O$!$H\e(B?\e$B!#\e(B".force_encoding("ISO-20 22-JP"), ""]
//}...

Kernel#chmod -> () (137.0)

ファイルのアクセス権を変更します。

...ファイルのアクセス権を変更します。

Change
the mode of each FILE to OCTAL-MODE.

ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE

-
v 詳細表示

@see chmod(1)...

Module#ruby2_keywords(method_name, ...) -> nil (107.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.

....7, check that the module responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.

//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
send(:"do_#{meth}", *args, &block)...
<< 1 2 > >>