るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.072秒)
トップページ > クエリ:_builtin[x] > クエリ:each[x] > クエリ:pos[x] > 種類:変数[x]

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

モジュール

検索結果

Kernel$$stdin -> object (8019.0)

標準入力です。

...ドを
正しく実装していなければいけません。

gets, readline, readlines, getc, readchar, tell, seek,
pos
=, rewind, fileno, to_io, eof, each_line, each_byte,
binmode, closed?

//emlist[例][ruby]{
$stdin = Object.new
def $stdin.gets
"foo"
end
p gets() # => "foo"
//}...