るりまサーチ

最速Rubyリファレンスマニュアル検索!
2027件ヒット [1-100件を表示] (0.135秒)
トップページ > クエリ:e[x] > クエリ:input[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::Filter#input -> Shell::Filter | nil (21201.0)

現在のフィルターを返します。

現在のフィルターを返します。

Zlib::GzipFile::Error#input -> String | nil (21101.0)

読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。

読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。

Encoding::InvalidByteSequenceError#incomplete_input? -> bool (15213.0)

エラー発生時に入力文字列が不足している場合に真を返します。

...//emlist[例][ruby]{
e
c = Encoding::Converter.new("EUC-JP", "ISO-8859-1")

begin
e
c.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
e
nd

begin
e
c.convert("ab...
...c\xA1")
e
c.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
e
nd
//}...

Kernel$$INPUT_LINE_NUMBER -> Integer (15213.0)

$. の別名

...$. の別名

1 e
2 f
3 g
4 h
5 i
# end of a.txt

require "English"

File.foreach(ARGV.at(0)){|line|
# read line
}
p $INPUT_LINE_NUMBER
# end of sample.rb

ruby sample.rb a.txt
#=> 5...

Gem::Specification.normalize_yaml_input(input) -> String (12308.0)

YAML 形式の gemspec を正しくフォーマットします。

...YAML 形式の gemspec を正しくフォーマットします。

@param input 文字列か IO オブジェクトを指定します。...

絞り込み条件を変える

Kernel$$DEFAULT_INPUT -> IO (12207.0)

$< の別名

...$< の別名

require "English"
while line = $DEFAULT_INPUT.gets
p line
e
nd
# end of sample.rb

ruby sample.rb < /etc/passwd
# => "hoge:x:500:501::/home/hoge:/bin/bash\n"
......

Kernel$$INPUT_RECORD_SEPARATOR -> String | nil (12207.0)

$/ の別名

...$/ の別名

require "English"

$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
e
nd
p array #=> ["ugo|", "ego|", "fogo\n"]

__END__
ugo|ego|fogo...

IRB::Context#file_input? -> bool (12201.0)

ライブラリ内部で使用します。

ライブラリ内部で使用します。

Gem::Package::TarInput#load_gemspec(io) -> Gem::Specification | nil (12200.0)

YAML 形式の gemspec を io から読み込みます。

...YAML 形式の gemspec を io から読み込みます。

@param io 文字列か IO オブジェクトを指定します。

@see Gem::Specification.from_yaml...
<< 1 2 3 ... > >>