2454件ヒット
  
    
      [401-500件を表示]
    
  
    (0.626秒)
  
  
    トップページ >  :Kernel.#p
:Kernel.#p![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Array
:Array![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :lambda
:lambda![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exception
:exception![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :String
:String![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :cpp_command
:cpp_command![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :class_eval
:class_eval![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exit
:exit![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Kernel
:Kernel![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :$MATCH
:$MATCH![条件を削除 [x]](/images/drop-condition-icon.png) 
  
 :Kernel.#p
:Kernel.#p![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Array
:Array![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :lambda
:lambda![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exception
:exception![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :String
:String![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :cpp_command
:cpp_command![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :class_eval
:class_eval![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :exit
:exit![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :Kernel
:Kernel![条件を削除 [x]](/images/drop-condition-icon.png) >
 >  :$MATCH
:$MATCH![条件を削除 [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) 
- 
        $ 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)
- 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_ 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)
検索結果
先頭5件
- 
      Kernel$ $ DEFAULT _ INPUT -> IO (27107.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 (27107.0) 
- 
      
      
      $@ の別名 ...$@ の別名
 require "English"
 class SomethingError < StandardError; end
 begin
 raise SomethingError
 rescue
 p $ERROR_POSITION #=> ["sample.rb:5"]
 end...
- 
      Kernel$ $ INPUT _ LINE _ NUMBER -> Integer (27107.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$ $ INPUT _ RECORD _ SEPARATOR -> String | nil (27107.0) 
- 
      
      
      $/ の別名 ...$/ の別名
 require "English"
 $INPUT_RECORD_SEPARATOR = '|'
 array = []
 while line = DATA.gets
 array << line
 end
 p array #=> ["ugo|", "ego|", "fogo\n"]
 __END__
 ugo|ego|fogo...
- 
      Kernel$ $ LAST _ PAREN _ MATCH -> String | nil (27107.0) 
- 
      
      
      $+ の別名 ...r1 = Regexp.compile("<img src=(http:.+?)>")
 r2 = Regexp.compile("<a href=(http|ftp).+?>(.+?)</a>")
 while line = DATA.gets
 [ r1, r2 ].each {|rep|
 rep =~ line
 p $+
 }
 end
 __END__
 <tr> <td><img src=http://localhost/a.jpg></td> <td>ikkou</td> <td><a href=http://localhost....../link.html>link</a></td> </tr>
 #enf of sample.rb
 $ ruby sample.rb
 "http://localhost/a.jpg"
 "link"...
- 
      Kernel$ $ PID -> Integer (27107.0) 
- 
      
      
      $$ の別名 ...$$ の別名
 require "English"
 p sprintf("something%s", $PID) #=> "something5543" など...
- 
      Kernel$ $ POSTMATCH -> String | nil (27107.0) 
- 
      
      
      $' の別名 ...$' の別名
 require "English"
 str = 'hoge,foo,bar,hee,hoo'
 /foo/ =~ str
 p $POSTMATCH #=> ",bar,hee,hoo"...
- 
      Kernel$ $ PREMATCH -> String | nil (27107.0) 
- 
      
      
      $` の別名 ...$` の別名
 require "English"
 str = 'hoge,foo,bar,hee,hoo'
 /foo/ =~ str
 p $PREMATCH #=> "hoge,"...
- 
      Kernel$ $ PROCESS _ ID -> Integer (27107.0) 
- 
      
      
      $$ の別名 ...$$ の別名
 require "English"
 p sprintf("something%s", $PID) #=> "something5543" など...
