2454件ヒット
  
    
      [2401-2454件を表示]
    
  
    (0.615秒)
  
  
    トップページ >  :Kernel.#p
:Kernel.#p![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :String
:String![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :public_instance_method
:public_instance_method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Array
:Array![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exit!
:exit!![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :cpp_command
:cpp_command![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Kernel
:Kernel![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :try_cpp
:try_cpp![条件を削除 [x]](/images/drop-condition-icon.png) 
  
 :Kernel.#p
:Kernel.#p![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :String
:String![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :public_instance_method
:public_instance_method![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Array
:Array![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exit!
:exit!![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :cpp_command
:cpp_command![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Kernel
:Kernel![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :try_cpp
:try_cpp![条件を削除 [x]](/images/drop-condition-icon.png) 
  種類
- モジュール関数 (1042)
- インスタンスメソッド (812)
- 変数 (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) 
- 
        $ POSTMATCH (12) 
- 
        $ PREMATCH (12) 
- 
        $ PROCESS _ ID (12) 
- 
        $ PROGRAM _ NAME (12) 
- 
        $ RS (12) 
- 
        $ ` (12) 
- 
        $ stdin (12) 
- 
        $ stdout (12) 
- 
        $ topdir (12) 
- 
        $ ~ (12) 
- BigDecimal (14)
- Complex (24)
- DelegateClass (12)
- Digest (12)
- Float (12)
- Integer (12)
- JSON (12)
- Pathname (12)
- Rational (7)
- 
        _ _ 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)
- 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)
- spawn (48)
- sprintf (12)
- srand (24)
- sub (24)
- system (48)
- test (24)
- timeout (8)
- 
        trace_ var (36) 
- trap (24)
- 
        try_ compile (24) 
- 
        try_ constant (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)
検索結果
先頭5件
- 
      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)に変換した結果を返します。 ...引数を文字列(String)に変換した結果を返します。
 arg.to_s を呼び出して文字列に変換します。
 arg が文字列の場合、何もせず 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#to_s,String...
- 
      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...
