2478件ヒット
[2401-2478件を表示]
(0.096秒)
別のキーワード
種類
- モジュール関数 (1042)
- インスタンスメソッド (836)
- 変数 (600)
ライブラリ
キーワード
-
$ ! (12) -
$ & (12) -
$ & # 39; (12) -
$ -F (12) -
$ -I (6) -
$ -p (12) -
$ 1 (12) -
$ 10 (12) -
$ 11 (12) -
$ 2 (12) -
$ 3 (12) -
$ 4 (12) -
$ 5 (12) -
$ 6 (12) -
$ 7 (12) -
$ 8 (12) -
$ 9 (12) -
$ : (6) -
$ ; (12) -
$ > (12) -
$ ? (12) -
$ ARGV (12) -
$ CHILD _ STATUS (12) -
$ DEFAULT _ INPUT (12) -
$ DEFAULT _ OUTPUT (12) -
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) -
$ FIELD _ SEPARATOR (12) -
$ FS (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ LAST _ MATCH _ INFO (12) -
$ LAST _ PAREN _ MATCH (12) -
$ LAST _ READ _ LINE (12) -
$ LOAD _ PATH (12) -
$ MATCH (12) -
$ NR (12) -
$ OFS (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ PID (12) -
$ PREMATCH (12) -
$ PROCESS _ ID (12) -
$ PROGRAM _ NAME (12) -
$ RS (12) -
$ ` (12) -
$ stdin (12) -
$ stdout (12) -
$ topdir (12) -
$ ~ (12) - Array (12)
- BigDecimal (14)
- Complex (24)
- Digest (12)
- Float (12)
- Integer (12)
- JSON (12)
- Pathname (12)
- Rational (7)
- String (12)
-
_ _ callee _ _ (12) -
_ _ method _ _ (12) -
at
_ exit (12) - autoload (12)
- autoload? (12)
- binding (12)
- caller (36)
-
caller
_ locations (24) - catch (24)
-
cc
_ command (12) -
check
_ signedness (24) -
check
_ sizeof (24) - chomp (12)
- chop (12)
-
convertible
_ int (24) - cp (12)
-
create
_ makefile (12) -
create
_ tmpsrc (12) -
depend
_ rules (12) - desc (12)
-
egrep
_ cpp (24) - eval (24)
- exec (48)
- fail (36)
-
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ type (24) - format (12)
- gets (12)
-
global
_ variables (12) - gsub (36)
-
have
_ header (24) -
have
_ macro (24) -
have
_ struct _ member (24) -
have
_ type (24) - help (12)
- httpd (12)
- import (12)
- install (12)
-
install
_ files (12) - j (12)
- lambda (18)
- libpathflag (12)
-
link
_ command (12) - load (12)
-
local
_ variables (12) - loop (24)
- mkdir (12)
- namespace (12)
- open (40)
- p (12)
- pp (12)
- print (12)
- printf (24)
- proc (19)
-
psych
_ y (12) - putc (12)
- puts (12)
- raise (36)
- readline (12)
- readlines (12)
- require (12)
-
require
_ relative (12) - rmdir (12)
- select (12)
-
set
_ trace _ func (12) - sleep (24)
- sprintf (12)
- srand (24)
- sub (24)
- system (48)
- test (24)
- timeout (8)
-
trace
_ var (36) - trap (24)
-
try
_ compile (24) -
try
_ constant (24) -
try
_ cpp (24) -
try
_ do (24) -
try
_ link (24) -
try
_ run (24) -
try
_ static _ assert (24) -
try
_ type (24) -
untrace
_ var (12) - warn (8)
-
with
_ werror (24) - xmp (12)
- xpopen (24)
- xsystem (12)
- y (12)
検索結果
先頭5件
-
Kernel
# rmdir -> () (21007.0) -
空のディレクトリを削除します。
...空のディレクトリを削除します。
ruby -run -e rmdir -- [OPTION] DIR
-p DIR で指定されたディレクトリとその上位ディレクトリを削除します
-v 詳細表示
@see rmdir(1)... -
Kernel
$ $ ARGV -> [String] (21007.0) -
$* の別名
...$* の別名
require "English"
p $ARGV
# end of sample.rb
ruby sample.rb 31 /home/hoge/fuga.txt
#=> ["31", "/home/hoge/fuga.txt"]... -
Kernel
$ $ LAST _ READ _ LINE -> String | nil (21007.0) -
$_ の別名
...$_ の別名
1 e
2 f
3 g
4 h
5 i
# end of a.txt
ruby -rEnglish -ne'p $LAST_READ_LINE' a.txt
#=>
"1 e\n"
"2 f\n"
"3 g\n"
"4 h\n"
"5 i\n"... -
Kernel
$ $ MATCH -> String | nil (21007.0) -
$& の別名
...$& の別名
require "English"
str = 'hoge,foo,bar,hee,hoo'
/(foo|bar)/ =~ str
p $MATCH #=> "foo"... -
Kernel
. # String(arg) -> String (21007.0) -
引数を文字列(String)に変換した結果を返します。
...、何もせず arg を返します。
@param arg 変換対象のオブジェクトです。
@raise TypeError to_s の返り値が文字列でなければ発生します。
//emlist[例][ruby]{
class Foo
def to_s
"hogehoge"
end
end
arg = Foo.new
p String(arg) #=> "hogehoge"
//}
@see Object#... -
Kernel
. # test(cmd , file) -> bool | Time | Integer | nil (21007.0) -
単体のファイルでファイルテストを行います。
...ルでファイルテストを行います。
@param cmd 以下に示す文字リテラル、文字列、あるいは同じ文字を表す数値
です。文字列の場合はその先頭の文字だけをコマンドとみなします。
@param file テストするファイルのパス......プレーンファイルである
: ?d
ファイルはディレクトリである
: ?l
ファイルはシンボリックリンクである
: ?p
ファイルは名前つきパイプ(FIFO)である
: ?S
ファイルはソケットである
: ?b
ファイルはブロックスペシ... -
Kernel
. # test(cmd , file1 , file2) -> bool (21002.0) -
2ファイル間のファイルテストを行います。
...間のファイルテストを行います。
@param cmd 以下に示す文字リテラル、文字列、あるいは同じ文字を表す数値
です。文字列の場合はその先頭の文字だけをコマンドとみなします。
@param file1 テストするファイルのパス......を表す文字列か IO オブジェクトを指定します。
@param file2 テストするファイルのパスを表す文字列か IO オブジェクトを指定します。
@return 真偽値を返します。
以下は cmd として指定できる文字リテラルとその意味です。
:......イル1とファイル2が同一のファイルである
//emlist[例][ruby]{
IO.write("testfile1", "test1")
IO.write("testfile2", "test2")
%w(= < > -).each do |e|
result = test(e, "testfile1", "testfile2")
puts "#{e}: #{result}"
end
//}
# => =: true
# => <: false
# => >: false
# => -: false...