るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.035秒)
トップページ > バージョン:2.5.0[x] > クエリ:Integer[x] > ライブラリ:English[x]

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer new

モジュール

キーワード

検索結果

Kernel$$INPUT_LINE_NUMBER -> Integer (313.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...

Kernel$$NR -> Integer (313.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...

Kernel$$PID -> Integer (313.0)

$$ の別名

...$$ の別名

require "English"

p sprintf("something%s", $PID) #=> "something5543" など...

Kernel$$PROCESS_ID -> Integer (313.0)

$$ の別名

...$$ の別名

require "English"

p sprintf("something%s", $PID) #=> "something5543" など...