種類
ライブラリ
- English (276)
- ビルトイン (2696)
- bigdecimal (16)
- continuation (12)
- delegate (12)
- digest (12)
- e2mmap (18)
- 
        irb/ cmd / load (12) 
- 
        irb/ xmp (24) 
- json (24)
- 
        minitest/ unit (1) 
- mkmf (624)
- open-uri (80)
- open3 (24)
- openssl (24)
- pathname (24)
- pp (16)
- profiler (6)
- pty (48)
- rake (36)
- 
        rubygems/ custom _ require (12) 
- scanf (12)
- shell (12)
- 
        shell/ command-processor (18) 
- 
        shell/ filter (12) 
- socket (72)
- stringio (108)
- syslog (12)
- tempfile (55)
- 
        test/ unit (1) 
- timeout (29)
- tracer (12)
- un (72)
- win32ole (12)
- zlib (48)
クラス
- 
        ARGF. class (75) 
- Array (48)
- BasicObject (24)
- BigDecimal (2)
- Binding (12)
- Complex (24)
- Exception (24)
- File (36)
- IO (468)
- 
        IRB:: ExtendCommand :: Load (12) 
- LoadError (12)
- Module (144)
- Object (168)
- 
        OpenSSL:: BN (12) 
- Proc (19)
- Shell (12)
- 
        Shell:: CommandProcessor (18) 
- 
        Shell:: Filter (12) 
- Socket (36)
- String (72)
- StringIO (108)
- SystemExit (12)
- Tempfile (55)
- Thread (72)
- TracePoint (12)
- Tracer (12)
- UncaughtThrowError (22)
- 
        WIN32OLE_ EVENT (12) 
- XMP (12)
- 
        Zlib:: GzipWriter (48) 
モジュール
- Exception2MessageMapper (18)
- FileTest (12)
- Kernel (2454)
- 
        MiniTest:: Assertions (1) 
- Open3 (24)
- 
        OpenSSL:: Buffering (12) 
- OpenURI (24)
- 
        OpenURI:: OpenRead (24) 
- PTY (48)
- Process (96)
- 
        Socket:: Constants (36) 
- Syslog (12)
- 
        Test:: Unit (1) 
- Timeout (21)
- URI (16)
キーワード
- 
        $ ! (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) 
- % (12)
- 
        AI_ V4MAPPED _ CFG (24) 
- ARGF (12)
- Array (12)
- BigDecimal (14)
- Complex (36)
- Continuation (12)
- DATA (12)
- DelegateClass (12)
- Digest (12)
- Float (12)
- Integer (12)
- JSON (12)
- 
        NEWS for Ruby 2. 4 . 0 (9) 
- 
        NEWS for Ruby 2. 5 . 0 (8) 
- 
        NEWS for Ruby 2. 7 . 0 (6) 
- 
        NEWS for Ruby 3. 0 . 0 (5) 
- 
        NEWS for Ruby 3. 1 . 0 (4) 
- Pathname (24)
- Proc (12)
- 
        Profiler_ _ (6) 
- Rational (7)
- Rubyの起動 (12)
- 
        SCRIPT_ LINES _ _ (12) 
- 
        SO_ ATTACH _ FILTER (24) 
- 
        SO_ DETACH _ FILTER (24) 
- TracePoint (12)
- Win32ネイティブ版Rubyの互換性問題 (12)
- [] (18)
- 
        _ _ callee _ _ (12) 
- 
        _ _ method _ _ (12) 
- abort (24)
- 
        add_ filter (12) 
- 
        add_ trace _ func (12) 
- ancestors (12)
- 
        at_ exit (12) 
- autoload (24)
- autoload? (12)
- bigdecimal (12)
- binding (12)
- binread (12)
- binwrite (12)
- caller (36)
- 
        caller_ locations (24) 
- catch (24)
- 
        cc_ command (12) 
- 
        check_ signedness (24) 
- 
        check_ sizeof (24) 
- chomp (12)
- chop (12)
- class (12)
- 
        class_ eval (24) 
- 
        const_ defined? (12) 
- constants (24)
- 
        convertible_ int (24) 
- cp (12)
- create (22)
- 
        create_ makefile (12) 
- 
        create_ tmpsrc (12) 
- 
        def_ exception (6) 
- 
        defined_ class (12) 
- 
        depend_ rules (12) 
- desc (12)
- 
        drb/ extservm (12) 
- 
        egrep_ cpp (24) 
- eval (36)
- exception (24)
- exec (48)
- execute (12)
- exit (24)
- exit! (12)
- fail (36)
- 
        find_ executable (12) 
- 
        find_ header (12) 
- 
        find_ library (24) 
- 
        find_ type (24) 
- 
        for_ fd (12) 
- foreach (24)
- fork (24)
- format (12)
- freeze (12)
- getpty (24)
- gets (39)
- 
        global_ variables (12) 
- gsub (36)
- 
        have_ header (24) 
- 
        have_ macro (24) 
- 
        have_ struct _ member (24) 
- 
        have_ type (24) 
- help (12)
- hex (12)
- httpd (12)
- identical? (12)
- import (12)
- include (12)
- inspect (12)
- install (12)
- 
        install_ files (12) 
- 
        instance_ eval (24) 
- 
        instance_ variables (12) 
- irb (12)
- 
        irb/ xmp (12) 
- j (12)
- kill (24)
- libpathflag (12)
- 
        link_ command (12) 
- load (12)
- 
        local_ variables (12) 
- log (12)
- loop (24)
- mkdir (12)
- 
        module_ eval (24) 
- namespace (12)
- new (80)
- oct (12)
- open (174)
- open-uri (6)
- 
        open_ uri (24) 
- p (12)
- path (12)
- popen (168)
- popen3 (24)
- pp (24)
- 
        pretty_ print (24) 
- print (72)
- proc (19)
- 
        public_ instance _ method (12) 
- putc (48)
- puts (60)
- raise (48)
- 
        rb_ exec _ end _ proc (12) 
- 
        rb_ load (12) 
- read (36)
- readline (12)
- readlines (48)
- rect (12)
- rectangular (12)
- 
        remove_ const (12) 
- reopen (60)
- require (12)
- 
        require_ relative (12) 
- rmdir (12)
- 
        ruby 1. 6 feature (12) 
- 
        ruby 1. 8 . 2 feature (12) 
- 
        ruby 1. 8 . 4 feature (12) 
- 
        ruby 1. 9 feature (12) 
- 
        run_ config (6) 
- sample (48)
- scanf (12)
- select (24)
- send (24)
- 
        set_ trace _ func (24) 
- 
        setup_ argv (1) 
- skip (1)
- sleep (24)
- spawn (84)
- sprintf (12)
- sprintf フォーマット (12)
- srand (24)
- status (12)
- sub (24)
- sysopen (12)
- system (48)
- tag (11)
- terminate (12)
- test (42)
- timeout (29)
- 
        to_ a (12) 
- 
        to_ ary (12) 
- 
        to_ f (12) 
- 
        to_ i (12) 
- 
        to_ int (12) 
- 
        to_ str (12) 
- 
        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) 
- value (11)
- warn (8)
- 
        webrick/ https (12) 
- 
        webrick/ httpservlet (12) 
- 
        with_ werror (24) 
- write (24)
- xmp (12)
- xpopen (24)
- xsystem (12)
- このマニュアルのヘルプ (12)
- クラス/メソッドの定義 (12)
- セキュリティモデル (12)
- 制御構造 (12)
- 変数と定数 (12)
- 手続きオブジェクトの挙動の詳細 (12)
- 環境変数 (12)
- 終了処理 (12)
検索結果
先頭5件
- 
      Socket:: Constants :: SO _ DETACH _ FILTER -> Integer (18.0) 
- 
      
      
      Detach socket filter。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。 ...Detach socket filter。
 BasicSocket#getsockopt, BasicSocket#setsockopt
 の第2引数(optname)に使用します。
 @see socket(7linux), http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/networking/filter.txt;hb=HEAD,
 Socket::Constants::SOL_SOCKET...
- 
      Socket:: SO _ ATTACH _ FILTER -> Integer (18.0) 
- 
      
      
      Attach socket filter。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。 ...Attach socket filter。
 BasicSocket#getsockopt, BasicSocket#setsockopt
 の第2引数(optname)に使用します。
 @see socket(7linux), http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/networking/filter.txt;hb=HEAD,
 Socket::Constants::SOL_SOCKET...
- 
      Socket:: SO _ DETACH _ FILTER -> Integer (18.0) 
- 
      
      
      Detach socket filter。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。 ...Detach socket filter。
 BasicSocket#getsockopt, BasicSocket#setsockopt
 の第2引数(optname)に使用します。
 @see socket(7linux), http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/networking/filter.txt;hb=HEAD,
 Socket::Constants::SOL_SOCKET...
- 
      SystemExit# status -> Integer (18.0) 
- 
      
      
      例外オブジェクトに保存された終了ステータスを返します。 ...します。
 終了ステータスは Kernel.#exit や SystemExit.new などで設定されます。
 例:
 begin
 exit 1
 rescue SystemExit => err
 p err.status # => 1
 end
 begin
 raise SystemExit.new(1, "dummy exit")
 rescue SystemExit => err
 p err.status # => 1
 end...
- 
      drb/ extservm (18.0) 
- 
      
      
      DRb::ExtServManager を定義しているライブラリ。 ...してください。
 === Example
 以下の例を実行するためには、まず server.rb を起動し、その後 client.rb を
 動かします。service.rb は server.rb が client.rb からサービスを要求された
 時に起動されます。また、stop.rbを用いて
 server.rb:......するコマンドを指定する
 # コマンドは文字列配列、もしくは文字列で指定できる
 # サブプロセスの起動は Kernel.#spawn でなされる
 #
 # サブプロセスを起動するときは、ここに指定したパラメータに加えて
 # さらに2つの......ービスを表すクラス
 class Service
 include DRb::DRbUndumped
 
 def initialize(service_name)
 @service_name = service_name
 end
 
 def hello
 "You invoke #{@service_name}"
 end
 end
 
 puts "Start #{ARGV[0]}"
 # ARGV の最後2つを除いた部分は ExtSer...
- 
      Continuation (12.0)
- 
      
      
      継続を表すクラスです。 ...継続を表すクラスです。
 Kernel.#callcc { |cont| ... } の呼び出し
 は、直前の状態(ローカル変数の定義、スタックフレーム)を cont に記憶
 してブロックを実行します。cont は、Continuation クラスのインスタ
 ンスで、Continuation#call メ......を実行するこ
 とでいつでも記憶した状態を継続することができます。
 C 言語の setjmp()/longjmp() がわかる人は
 setjmp() == callcc {|c| }
 longjmp() == c.call
 と考えれば、わかりやすいかも知れません(ただし、callcc はスタックが深く......args を返します。
 例:
 以下は、Continuationによる無限ループの例
 
 def LOOP
 c = nil
 yield callcc {|cnt| c = cnt; true }
 c.call(false)
 end
 
 LOOP {|v| p v}
 
 => true
 false
 false
 false
 :
 :
 callcc とは、call-with-current-co...
- 
      Object# to _ ary -> Array (12.0) 
- 
      
      
      オブジェクトの Array への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。 ...すべての場面で代置可能であるような、
 * 配列そのものとみなせるようなもの
 という厳しいものになっています。
 //emlist[][ruby]{
 class Foo
 def to_ary
 [3,4]
 end
 end
 it = Foo.new
 p([1,2] + it) #=> [1, 2, 3, 4]
 //}
 @see Object#to_a,Kernel.#Array...
- 
      Object# to _ int -> Integer (12.0) 
- 
      
      
      オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。 ...が使われるすべての場面で代置可能であるような、
 * 整数そのものとみなせるようなもの
 という厳しいものになっています。
 //emlist[][ruby]{
 class Foo
 def to_int
 1
 end
 end
 ary = [:a, :b, :c]
 p(ary[Foo.new]) # => :b
 //}
 @see Kernel.#Integer...
- 
      Object# to _ str -> String (12.0) 
- 
      
      
      オブジェクトの String への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。 ...オブジェクトの String への暗黙の変換が必要なときに内部で呼ばれます。
 デフォルトでは定義されていません。
 説明のためここに記載してありますが、
 このメソッドは実際には Object クラスには定義されていません。
 必......面で代置可能であるような、
 * 文字列そのものとみなせるようなもの
 という厳しいものになっています。
 //emlist[][ruby]{
 class Foo
 def to_str
 'Edition'
 end
 end
 it = Foo.new
 p('Second' + it) #=> "SecondEdition"
 //}
 @see Object#to_s,Kernel.#String...

 :
:![条件を削除 [x]](/images/drop-condition-icon.png)