るりまサーチ

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

別のキーワード

  1. openssl null
  2. asn1 null
  3. null new
  4. fiddle null
  5. fiddle null?

ライブラリ

クラス

検索結果

irb (39616.0)

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

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

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
irb
コマンドを実行すると、以下のようなプロン...
...す。

$ irb
irb
(main):001:0>

あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。

irb
(main):001:0> 1+2
3
irb
(main):002:0> class Foo
irb
(main):003:1> def foo
irb
(main):004:2> print 1
irb
(main):005:2> end
irb
(main):006:...
...うに設定されています。

IRB
.conf[:PROMPT_MODE][:DEFAULT] = {
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
:PROMPT_C => "%N(%m):%03n:%i* ",
:RETURN => "%s\n"
}

プロンプトモードは :DEFAULT
の他に :NULL, :CLASSIC, :SIMPLE, :XMP が定義...

IRB::Context#prompt_mode -> Symbol (3024.0)

現在のプロンプトモードを Symbol で返します。

...そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。

定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。

@see IRB::Context#prompt_mode=, lib:irb#customize_prompt...

IRB::Context#prompt_mode=(mode) (3018.0)

プロンプトモードを mode に設定します。

...@param mode プロンプトモードを Symbol で指定します。オリジナルの
プロンプトモードか、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、
:XMP、:NULL のいずれを指定してください。

@see IRB::Context#prompt_mode, lib:irb#customize_prompt...

ruby 1.8.4 feature (60.0)

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

...ck::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 feature/RDoc [bug]>))
* ((<ruby 1.8.4 feature/Win32API [bug]>))
* ((<ruby 1.8.4 feature/Rinda [bug]>))
* ((<ruby 1...
...05 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * file.c (rb_file_join): elements may contain null pointer strings.
# report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326]

NULL
ポインタを持つStringを渡すとFile.joinがSEGVすることがあった
バグの修...
...blem (backported HEAD 1.55 - 1.62)
# [ruby-dev:27839]
#
# * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is
# NULL or not before S_FREE.
#
# * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
# in gram.c to insert node fro...

ruby 1.6 feature (30.0)

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

...FE == 4, which
previously wasn't.

とあるけど実際にはできません。

$SAFE = 4; def a; end

=> -:1: Insecure operation `(null)' at level 4 (SecurityError)
ruby 1.6.4 (2001-06-04) [i586-linux]

=> -:1: Insecure: can't define method (SecurityError)
ruby 1.6...
...準ライブラリとして新規に追加されました。
(ドキュメントが doc ディレクトリにあります)

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

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

: 夏時間

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

絞り込み条件を変える

Ruby用語集 (24.0)

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

...:rubygems

===[a:I] I

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

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

参照:irb

: is-a 関係
Ruby で...
...81

: 日本Rubyの会
Ruby の開発者・利用者の支援を行っている一般社団法人。

https://ruby-no-kai.org/

: ヌル文字
: null character
ASCII(ISO/IEC 646)や Unicode などに含まれる制御文字の一つ。
ASCII では 0x00 が、Unicode では U+0000 がこ...

ruby 1.8.2 feature (12.0)

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

...ワードプロンプトのための正規表現を
指定できるようになりました。

: String#unpack [ruby] [change]
Z* が最初の null までしかマッチしないようになりました。((<ruby-talk:98281>))

$ ruby1.8.1 -e 'p "abc\000def\000".unpack("Z*Z*")'
["abc\0...
...トされない限り Dir.glob('test/**/') は 'test/.test/' などに
マッチしなくなりました。((<ruby-dev:23014>))

=== 2004-02-20
: irb [lib] [new]
-I オプションが使えるようになりました。((<ruby-list:39243>))

=== 2004-02-18
: StringScanner#peep [lib] [obsolete]...