るりまサーチ

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

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file separator
  4. file ctime
  5. file atime

検索結果

irb (39640.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...irb は Interactive Ruby の略です。
irb
を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
irb
コマンドを実行すると、以下のようなプロン...
...的にコマンドライン編集や履歴の機能が使えるようになります。

=== irb のコマンドラインオプション

irb
[options] file_name opts
options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができ...
...スイッチ
nil
irb
(main):004:0> jobs # jobのリスト
#0->irb on main (#<Thread:0x400fb7e4> : running)
#1->irb#1 on main (#<Thread:0x40125d64> : stop)
#2->irb#2 on Foo (#<Thread:0x4011d54c> : stop)
nil
irb
(main):005:0> Foo.instance_methods # Foo#fooがち...
...的にコマンドライン編集や履歴の機能が使えるようになります。

=== irb のコマンドラインオプション

irb
[options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-...

ruby 1.8.4 feature (330.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...ture/test [bug]>))
* ((<ruby 1.8.4 feature/File.identical? [new]>))
* ((<ruby 1.8.4 feature/FileTest.identical? [new]>))
* ((<ruby 1.8.4 feature/File.split [change]>))
* ((<ruby 1.8.4 feature/File.basename [change]>))
* ((<ruby 1.8.4 feature/File.dirname [change]>))
* ((<ruby 1.8.4 featu...
....4 feature/WEBrick::Config::FileHandler [compat]>))
* ((<ruby 1.8.4 feature/WEBrick>))
* ((<ruby 1.8.4 feature/WEBrick::HTTPRequest#query_string= [new]>))
* ((<ruby 1.8.4 feature/Readline [bug]>))
* ((<ruby 1.8.4 feature/Syck [bug]>))
* ((<ruby 1.8.4 feature/irb [bug]>))
* ((<ruby 1.8.4...
...: rb_funcall2() [bug]

#Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * eval.c (rb_funcall2): allow to call protected methods.
# fixed: [ruby-dev:27890]

拡張ライブラリ(C言語)からRubyメソッドを呼ぶ関数
rb_funcall2() が (private メソ...

NEWS for Ruby 2.5.0 (240.0)

NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ました 11286

* File
* File.open :newline オプションを指定するとテキストモードになります 13350
* File#path はFile::Constants::TMPFILE付きで開いたファイルに対して IOError を発生させます
13568
* File.stat, File.exist? など rb_stat()...
...age.start(lines: true, branches: true, methods: true)
//}
* Rubyで書かれたファイルをいくつか読み込んでから、Coverage.result を使って結果を取得することができます。
//emlist[][ruby]{
Coverage.result
#=> { "/path/to/file.rb"=>
# { :lines => [1, 2, 0, nil...
...ink_local? を追加 10912

* irb
* バックトレースとエラーメッセージを逆順で表示するようにしました 8661 [実験的]
* binding.irb を実行したときに自動的に irb を読み込みます 13099 [実験的]
* binding.irb を実行したときに周囲...

ruby 1.6 feature (216.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...ったため、enq などを
呼び出したときスーパークラス Queue の enq が実行されていました。

: 2002-09-11: ((<tempfile/Tempfile#size>))

追加 ((<ruby-dev:17221>))

: 2002-09-09

mswin32 版と mingw32 版の ruby で、1.6.6の頃から ruby の子プロセスに...
...by-dev:14942>))

Module.constants.each {|c|
c = eval c
if c.instance_of?(Class)
p c
c.instance_methods.each {|m|
c.module_eval "undef #{m};"
}
c.module_eval {undef initialize}
end
}

=...
...準ライブラリとして新規に追加されました。
(ドキュメントが doc ディレクトリにあります)

: ((<irb>)) & irb-tools

irb
irb-tools がそれぞれ 0.7.4 と 0.7.1 にバージョンアップしました。

: 夏時間

夏時間の考慮に不備があ...

NEWS for Ruby 3.0.0 (120.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...* `$SAFE` and `$KCODE` are now normal global variables with no special behavior.
C-API methods related to `$SAFE` have been removed.
16131 17136
* yield in singleton class definitions in methods is now a SyntaxError
instead of a warning. yield in a class definition outside of a meth...
...e each second element
# => ["data1", "data2", "data3"]
//}

* Binding
* Binding#eval when called with one argument will use `"(eval)"` for `__FILE__` and `1` for `__LINE__` in the evaluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock`...
...Ractor compatible.
* Etc
* Update to Etc 1.2.0
* This version is Ractor compatible.
* Fiddle
* Update to Fiddle 1.0.5
* IRB
* Update to IRB 1.2.6
* JSON
* Update to JSON 2.5.0
* This version is Ractor compatible.
* Set
* Update to set 1.0.0
* SortedSet has...

絞り込み条件を変える

ruby 1.8.2 feature (48.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...を配列に貯めてから each するようになりました。((<ruby-dev:24528>))

=== 2004-10-18

: WEBrick::HTTPRequest [lib] [new]
new methods. accept, accept_charset, accept_encoding, accept_language,
content_length and content_type.

: WEBrick::HTTPResponse#content_length= [lib] [new]...
...p_server [lib] [new]
: WEBrick::HTTPServlet::FileHandler#get_servlet [lib] [new]

=== 2004-09-03
: Struct.new [ruby] [bug]
同じ名前で二度定義したときのバグを修正しました。((<ruby-dev:24210>))

=== 2004-08-24
: CGI::Session::FileStore#initialize [lib] [bug]
セッショ...
...penSSL::Config#each [lib] [new]

: Dir.glob [ruby] [change]
File
::FNM_DOTMATCH がセットされない限り Dir.glob('test/**/') は 'test/.test/' などに
マッチしなくなりました。((<ruby-dev:23014>))

=== 2004-02-20
: irb [lib] [new]
-I オプションが使えるようにな...

NEWS for Ruby 3.1.0 (42.0)

NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...]
//}

* Enumerator::Lazy
* 新規メソッド
* Enumerator::Lazy#compact が追加されました。 17312

* File
* 変更されたメソッド
* File.dirname がパスの階層を取り除く任意の引数を渡せるようになりました。 12194

* GC
* 新規...
...ment
* Module#refineで作成されたモジュールを表す新しいクラス。includeとprependは非推奨になり、代わりにimport_methodsが追加されました。

== 標準添付ライブラリの更新(機能追加とバグ修正を除く)

* 以下のdefault gemsが更新さ...
...erb 2.2.3
* error_highlight 0.3.0
* etc 1.3.0
* fcntl 1.0.1
* fiddle 1.1.0
* fileutils 1.6.0
* find 0.1.1
* io-console 0.5.10
* io-wait 0.2.1
* ipaddr 1.2.3
* irb 1.4.1
* json 2.6.1
* logger 1.5.0
* net-http 0.2.0
* net-protocol 0.1.2
* nk...

Ruby用語集 (36.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...m、標準添付ライブラリー

: Bundler
特定の Ruby アプリケーションで使用する gem とそのバージョンを Gemfile
および Gemfile.lock という
ファイルで管理するツール。gem を新規作成するときの雛形を生成する機能もある。
...
...:rubygems

===[a:I] I

: irb
組込みの対話型 Ruby 実行環境およびそのコマンド名。

irb
コマンドで起動し、Ruby の式を入力すればその場で評価して結果を表示する。
名称は interactive Ruby から。

参照:irb

: is-a 関係
Ruby で...
...体はオブジェクトではないが、Method オブジェクトとして
オブジェクト化できる。

: メソッドシグネチャ
: method signature
メソッドの名前や取りうる引数などについての情報。

: メソッド探索
あるオブジェクトのあるメ...