4424件ヒット
[301-400件を表示]
(0.100秒)
種類
ライブラリ
- English (253)
- ビルトイン (2470)
- bigdecimal (14)
- continuation (11)
- delegate (11)
- digest (11)
- e2mmap (18)
-
irb
/ cmd / load (11) -
irb
/ xmp (22) - json (22)
-
minitest
/ unit (1) - mkmf (572)
- open-uri (74)
- open3 (22)
- openssl (22)
- pathname (22)
- pp (15)
- profiler (6)
- psych (22)
- pty (44)
- rake (33)
-
rubygems
/ custom _ require (11) - scanf (12)
- shell (12)
-
shell
/ command-processor (18) -
shell
/ filter (12) - socket (66)
- stringio (99)
- syslog (11)
- tempfile (50)
-
test
/ unit (1) - timeout (27)
- tracer (11)
- un (66)
- win32ole (11)
- zlib (44)
クラス
-
ARGF
. class (68) - Array (44)
- BasicObject (22)
- BigDecimal (2)
- Binding (11)
- Complex (22)
- Exception (22)
- File (33)
- IO (429)
-
IRB
:: ExtendCommand :: Load (11) - LoadError (11)
- Module (132)
- Object (154)
-
OpenSSL
:: BN (11) - Proc (18)
- Shell (12)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - Socket (33)
- String (67)
- StringIO (99)
- SystemExit (11)
- Tempfile (50)
- Thread (66)
- TracePoint (11)
- Tracer (11)
- UncaughtThrowError (20)
-
WIN32OLE
_ EVENT (11) - XMP (11)
-
Zlib
:: GzipWriter (44)
モジュール
- Exception2MessageMapper (18)
- FileTest (11)
- Kernel (2272)
-
MiniTest
:: Assertions (1) - Open3 (22)
-
OpenSSL
:: Buffering (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) - PTY (44)
- Process (88)
-
Socket
:: Constants (33) - Syslog (11)
-
Test
:: Unit (1) - Timeout (19)
- URI (14)
キーワード
-
$ ! (11) -
$ & (11) -
$ & # 39; (11) -
$ -F (11) -
$ -I (5) -
$ -p (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ : (5) -
$ ; (11) -
$ > (11) -
$ ? (11) -
$ ARGV (11) -
$ CHILD _ STATUS (11) -
$ DEFAULT _ INPUT (11) -
$ DEFAULT _ OUTPUT (11) -
$ ERROR _ INFO (11) -
$ ERROR _ POSITION (11) -
$ FIELD _ SEPARATOR (11) -
$ FS (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ LOAD _ PATH (11) -
$ MATCH (11) -
$ NR (11) -
$ OFS (11) -
$ OUTPUT _ FIELD _ SEPARATOR (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ PID (11) -
$ PREMATCH (11) -
$ PROGRAM _ NAME (11) -
$ RS (11) -
$ ` (11) -
$ stdin (11) -
$ stdout (11) -
$ topdir (11) -
$ ~ (11) - % (11)
-
AI
_ V4MAPPED _ CFG (22) - ARGF (11)
- Array (11)
- BigDecimal (12)
- Complex (33)
- Continuation (11)
- DATA (11)
- DelegateClass (11)
- Digest (11)
- Float (11)
- Integer (11)
- JSON (11)
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Pathname (22)
- Proc (11)
-
Profiler
_ _ (6) - Rational (6)
- Rubyの起動 (11)
-
SCRIPT
_ LINES _ _ (11) -
SO
_ ATTACH _ FILTER (22) -
SO
_ DETACH _ FILTER (22) - String (11)
- TracePoint (11)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (18)
-
_ _ callee _ _ (11) -
_ _ method _ _ (11) - abort (22)
-
add
_ filter (11) -
add
_ trace _ func (11) - ancestors (11)
-
at
_ exit (11) - autoload (22)
- autoload? (11)
- bigdecimal (11)
- binding (11)
- binread (11)
- binwrite (11)
- caller (33)
-
caller
_ locations (22) - catch (22)
-
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) - chomp (11)
- chop (11)
- class (11)
-
class
_ eval (22) -
const
_ defined? (11) - constants (22)
-
convertible
_ int (22) - cp (11)
-
cpp
_ command (11) - create (20)
-
create
_ makefile (11) -
create
_ tmpsrc (11) -
def
_ exception (6) -
defined
_ class (11) -
depend
_ rules (11) - desc (11)
-
drb
/ extservm (11) -
egrep
_ cpp (22) - eval (33)
- exception (22)
- exec (44)
- execute (11)
- exit (22)
- exit! (11)
- fail (33)
-
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
for
_ fd (11) - foreach (22)
- fork (22)
- format (11)
- freeze (11)
- getpty (22)
- gets (35)
-
global
_ variables (11) - gsub (33)
-
have
_ header (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) - help (11)
- hex (11)
- httpd (11)
- identical? (11)
- import (11)
- include (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
instance
_ eval (22) -
instance
_ variables (11) - irb (11)
-
irb
/ xmp (11) - j (11)
- kill (22)
- lambda (17)
- libpathflag (11)
-
link
_ command (11) - load (11)
-
local
_ variables (11) - log (11)
- loop (22)
- method (11)
- mkdir (11)
-
module
_ eval (22) - namespace (11)
- new (74)
- oct (11)
- open (160)
- open-uri (6)
-
open
_ uri (22) - p (11)
- path (11)
- popen (154)
- popen3 (22)
- pp (22)
-
pretty
_ print (22) - print (66)
- printf (77)
- proc (18)
-
psych
_ y (11) -
public
_ instance _ method (11) - putc (44)
- puts (55)
- raise (44)
-
rb
_ exec _ end _ proc (11) -
rb
_ load (11) - read (33)
- readline (11)
- readlines (44)
- rect (11)
- rectangular (11)
-
remove
_ const (11) - reopen (55)
- require (11)
-
require
_ relative (11) - rmdir (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
run
_ config (6) - sample (44)
- scanf (12)
- select (22)
- send (22)
-
set
_ trace _ func (22) -
setup
_ argv (1) - skip (1)
- sleep (22)
- spawn (77)
- sprintf (11)
- sprintf フォーマット (11)
- srand (22)
- status (11)
- sub (22)
- sysopen (11)
- system (44)
- tag (10)
- terminate (11)
- test (40)
- timeout (27)
-
to
_ a (11) -
to
_ ary (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ str (11) -
trace
_ var (33) - trap (22)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
untrace
_ var (11) - value (10)
- warn (7)
-
webrick
/ https (11) -
webrick
/ httpservlet (11) -
with
_ werror (22) - write (22)
- xmp (11)
- xpopen (22)
- xsystem (11)
- y (11)
- このマニュアルのヘルプ (11)
- クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 環境変数 (11)
- 終了処理 (11)
検索結果
先頭5件
-
Kernel
$ $ FIELD _ SEPARATOR -> String | nil (27112.0) -
$; の別名
...$; の別名
require "English"
str = "hoge,fuga,ugo,bar,foo"
p str.split #=> ["hoge,fuga,ugo,bar,foo"]
$FIELD_SEPARATOR = ","
p str.split #=> ["hoge", "fuga", "ugo", "bar", "foo"]... -
Kernel
. # printf(format , *arg) -> nil (27112.0) -
C 言語の printf と同じように、format に従い引数を文字列に変 換して port に出力します。
...C 言語の printf と同じように、format に従い引数を文字列に変
換して port に出力します。
port を省略した場合は標準出力 $stdout に出力します。
引数を 1 つも指定しなければ何もしません。
Ruby における format 文字列の拡張......については
Kernel.#sprintfの項を参照してください。
@param port 出力先になるIO のサブクラスのインスタンスです。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@raise ArgumentError port を指定したの......@raise IOError port が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
//emlist[例][ruby]{
printf("calculate%3s%-6s%.15f", 'PI', '...', Math::PI)
#=> calculate PI... 3.141592653589793
printf("%d %04x",... -
Kernel
. # printf(port , format , *arg) -> nil (27112.0) -
C 言語の printf と同じように、format に従い引数を文字列に変 換して port に出力します。
...C 言語の printf と同じように、format に従い引数を文字列に変
換して port に出力します。
port を省略した場合は標準出力 $stdout に出力します。
引数を 1 つも指定しなければ何もしません。
Ruby における format 文字列の拡張......については
Kernel.#sprintfの項を参照してください。
@param port 出力先になるIO のサブクラスのインスタンスです。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@raise ArgumentError port を指定したの......@raise IOError port が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
//emlist[例][ruby]{
printf("calculate%3s%-6s%.15f", 'PI', '...', Math::PI)
#=> calculate PI... 3.141592653589793
printf("%d %04x",... -
Kernel
# cp -> () (27106.0) -
ファイルやディレクトリをコピーします。
...ファイルやディレクトリをコピーします。
ruby -run -e cp -- [OPTION] SOURCE DEST
-p 可能であればファイルの属性を保持します。
-r 再帰的にコピーします。
-v 詳細表示
@see cp(1)... -
Kernel
# xmp(exps , bind = nil) -> XMP (27106.0) -
引数 exps で指定されたRuby のソースコードとその実行結果を、標準出力に行 ごとに交互に表示します。
...引数 exps で指定されたRuby のソースコードとその実行結果を、標準出力に行
ごとに交互に表示します。
@param exps 評価するRuby のソースコードを文字列で指定します。
@param bind Binding オブジェクトを指定します。省略した場......合は、最
後に実行した XMP#puts、Kernel#xmp の
Binding を使用します。まだ何も実行していない場合は
Object::TOPLEVEL_BINDING を使用します。... -
Kernel
# xpopen(command , *mode) -> IO (27106.0) -
command を表示してから IO.popen の実行します。
...command を表示してから IO.popen の実行します。
@param command コマンド名を指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さい。
@see IO.popen... -
Kernel
# xpopen(command , *mode) { . . . } -> object (27106.0) -
command を表示してから IO.popen の実行します。
...command を表示してから IO.popen の実行します。
@param command コマンド名を指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さい。
@see IO.popen... -
Kernel
$ $ DEFAULT _ INPUT -> IO (27106.0) -
$< の別名
...$< の別名
require "English"
while line = $DEFAULT_INPUT.gets
p line
end
# end of sample.rb
ruby sample.rb < /etc/passwd
# => "hoge:x:500:501::/home/hoge:/bin/bash\n"
...... -
Kernel
$ $ ERROR _ POSITION -> [String] | nil (27106.0) -
$@ の別名
...$@ の別名
require "English"
class SomethingError < StandardError; end
begin
raise SomethingError
rescue
p $ERROR_POSITION #=> ["sample.rb:5"]
end... -
Kernel
$ $ INPUT _ LINE _ NUMBER -> Integer (27106.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...