ライブラリ
- ビルトイン (1663)
- bigdecimal (34)
-
cgi
/ session (11) - coverage (29)
- csv (44)
- drb (22)
-
io
/ wait (33) -
irb
/ context (44) - json (11)
- mkmf (110)
- monitor (11)
-
net
/ imap (22) -
net
/ pop (66) -
net
/ telnet (6) - objspace (22)
- open-uri (22)
- openssl (143)
- optparse (11)
- pathname (11)
- psych (72)
- pty (11)
- rake (33)
-
rdoc
/ markup / to _ html _ crossref (11) - readline (11)
-
rexml
/ document (88) - ripper (11)
-
ripper
/ lexer (8) -
rubygems
/ dependency _ installer (22) -
rubygems
/ installer (11) -
rubygems
/ remote _ fetcher (22) -
rubygems
/ version (7) - securerandom (11)
- shell (30)
-
shell
/ command-processor (18) -
shell
/ filter (18) - stringio (11)
- strscan (44)
- tempfile (42)
- thread (12)
- tmpdir (22)
- uri (44)
-
webrick
/ cgi (11) -
webrick
/ config (22) -
webrick
/ httpversion (11) -
webrick
/ ssl (22) - win32ole (22)
クラス
-
ARGF
. class (33) - Array (79)
- BasicObject (11)
- BigDecimal (22)
-
CGI
:: Session (11) - CSV (33)
-
CSV
:: Row (11) - Coverage (29)
-
DRb
:: DRbServer (11) - Dir (34)
- FalseClass (33)
-
Gem
:: DependencyInstaller (22) -
Gem
:: Installer (11) -
Gem
:: RemoteFetcher (22) -
Gem
:: Version (7) - Hash (11)
- IO (285)
-
IRB
:: Context (44) - Module (73)
-
MonitorMixin
:: ConditionVariable (11) - Mutex (2)
-
Net
:: IMAP (22) -
Net
:: POP3 (66) -
Net
:: Telnet (6) - NilClass (33)
- NoMethodError (14)
- Object (57)
-
OpenSSL
:: BN (11) -
OpenSSL
:: PKey :: DSA (44) -
OpenSSL
:: PKey :: RSA (55) -
OpenSSL
:: X509 :: Store (22) - OptionParser (11)
- Pathname (11)
- Proc (13)
-
Psych
:: Handler (33) -
Psych
:: Nodes :: Scalar (11) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
REXML
:: CData (11) -
REXML
:: Document (22) -
REXML
:: Entity (22) -
REXML
:: Text (33) -
Rake
:: Application (11) - Range (33)
- Regexp (52)
- Ripper (19)
-
RubyVM
:: InstructionSequence (33) - Shell (30)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) - String (180)
- StringIO (11)
- StringScanner (44)
- Struct (31)
- Symbol (16)
- Tempfile (42)
- Thread (22)
-
Thread
:: Mutex (9) -
Thread
:: Queue (51) -
Thread
:: SizedQueue (42) - Time (88)
- TrueClass (33)
-
URI
:: FTP (11) -
URI
:: HTTP (11) -
URI
:: LDAP (11) -
URI
:: MailTo (11) -
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPVersion (11) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (11)
モジュール
- Comparable (55)
- DRb (11)
- Enumerable (98)
- GC (44)
-
GC
:: Profiler (22) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) - Kernel (309)
- ObjectSpace (33)
- OpenURI (22)
- PTY (11)
- Psych (28)
- Rake (22)
- Readline (11)
-
RubyVM
:: AbstractSyntaxTree (12) - SecureRandom (11)
- Signal (22)
-
WEBrick
:: Config (33)
オブジェクト
- ENV (11)
キーワード
- ! (11)
- !~ (11)
-
$ -W (11) -
$ -v (11) -
$ -w (11) -
$ VERBOSE (11) - & (33)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (22)
- <= (22)
- <=> (11)
- >= (22)
- ASN1 (11)
- BigDecimal (12)
- Complex (12)
-
DEFAULT
_ OPTIONS (22) - DigestAuth (11)
- FileHandler (11)
- Float (6)
- Integer (6)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (4) - Rational (6)
- Ruby プログラムの実行 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Rubyの起動 (11)
- SSL (11)
- TRUE (8)
- [] (95)
- ^ (33)
- any? (50)
- application (11)
- application= (11)
- attr (24)
- between? (11)
- binmode (2)
- bsearch (44)
- casecmp? (16)
- check (11)
- chunk (11)
- cleanpath (11)
- close (29)
- close! (11)
- closed? (20)
-
compare
_ by _ identity (11) - compile (22)
-
compile
_ file (11) -
const
_ source _ location (5) - correct? (7)
- create (20)
-
default
_ event _ sources (11) -
delete
_ all (22) - deq (22)
- disable (11)
- each (48)
-
each
_ line (64) - fcntl (11)
-
fetch
_ path (11) -
find
_ library (22) -
fixed
_ encoding? (11) - foreach (45)
-
garbage
_ collect (22) - gets (48)
- glob (8)
- gm (22)
- handler= (11)
-
have
_ func (22) -
have
_ header (22) -
have
_ library (22) - ioctl (11)
- irb (11)
-
keyword
_ init? (3) - lambda? (11)
-
latest
_ gc _ info (22) - lex (4)
- lines (16)
- load (22)
- local (22)
- match? (24)
- matched? (11)
-
memsize
_ of _ all (11) - mktime (22)
- mktmpdir (22)
- mode (22)
- new (402)
- nil? (11)
- none? (47)
- of (4)
- one? (47)
-
open
_ uri (22) -
open
_ uri _ or _ path (11) - parameters (2)
- parse (4)
-
parse
_ file (4) -
peek
_ result (11) -
pending
_ interrupt? (11) - pop (22)
-
prime
_ fasttest? (11) - pushd (6)
- pushdir (6)
-
raw
_ data (11) -
reachable
_ objects _ from (11) -
read
_ nonblock (31) - readline (35)
- readlines (48)
- ready? (11)
- result (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
safe
_ load (17) - scalar (11)
-
scan
_ full (11) -
search
_ full (11) - shift (22)
-
singleton
_ class (11) - sleep (11)
- slice (66)
- spawn (44)
- start (40)
-
start
_ mapping (11) -
start
_ sequence (11) -
start
_ service (11) - status (11)
- store (11)
- system (44)
- test (40)
-
to
_ json (11) -
to
_ s (11) - tokenize (4)
- trap (22)
-
try
_ run (22) -
unconverted
_ fields? (11) -
urlsafe
_ base64 (11) -
use
_ readline (11) -
use
_ readline? (11) - utc (22)
- value (11)
- verbose (11)
- verbose? (11)
- verify (22)
- wait (22)
-
wait
_ readable (11) - warn (3)
- warning (11)
- write (22)
-
write
_ headers? (11) - | (33)
- ~ (11)
- クラス/メソッドの定義 (11)
- 制御構造 (11)
- 正規表現 (11)
- 演算子式 (11)
検索結果
先頭5件
-
Object
:: FALSE -> FalseClass (18347.0) -
非推奨です。代表的な偽の値。false と同じ。
...です。代表的な偽の値。false と同じ。
この定数は過去との互換性のために提供されています。擬似変数 false を使ってください。
Ruby では false と nil が偽として扱われます。
偽でない値(false でも nil でもない値) は全て真と... -
Object
:: NIL -> NilClass (18347.0) -
非推奨です。 nil と同じ。
...非推奨です。 nil と同じ。
この定数は過去との互換性のために提供されています。擬似変数 nil を使ってください。
Ruby では false と nil が偽として扱われます。
偽でない値(false でも nil でもない値) は全て真とみなされま... -
Module
# >(other) -> bool | nil (18283.0) -
比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。
...先祖である場合、true を返します。
self が other の子孫か同一クラスである場合、false を返します。
継承関係にないクラス同士の比較では
nil を返します。
@param other 比較対象のモジュールやクラス
@raise TypeError other がクラ......nded
prepend Awesome
end
Included.ancestors # => [Included, Awesome]
Awesome > Included # => true
Included > Awesome # => false
Prepended.ancestors # => [Awesome, Prepended]
Awesome > Prepended # => true
Prepended > Awesome # => false
Awesome > Awesome # => false
Awesome > Object # => nil
//}... -
Comparable
# >(other) -> bool (18140.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
...=> をもとにオブジェクト同士を比較します。
<=> が正の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <=>......が nil を返したときに発生します。
//emlist[例][ruby]{
1 > 0 # => true
1 > 1 # => false
//}... -
Object
# nil? -> bool (6247.0) -
レシーバが nil であれば真を返します。
...レシーバが nil であれば真を返します。
p false.nil? #=> false
p nil.nil? #=> true
@see NilClass... -
Module
# >=(other) -> bool | nil (6241.0) -
比較演算子。self が other の先祖か同一クラスである場合、 true を返します。 self が other の子孫である場合、false を返します。
...先祖か同一クラスである場合、 true を返します。
self が other の子孫である場合、false を返します。
継承関係にないクラス同士の比較では
nil を返します。
@param other 比較対象のモジュールやクラス
@raise TypeError other がクラ......ule#<
//emlist[例][ruby]{
module Foo; end
module Bar
include Foo
end
module Baz
prepend Foo
end
Bar.ancestors # => [Bar, Foo]
Foo >= Bar # => true
Bar >= Foo # => false
Baz.ancestors # => [Foo, Baz]
Foo >= Baz # => true
Baz >= Foo # => false
Foo >= Foo # => true
Foo >= Object # => nil
//}... -
WEBrick
:: HTTPVersion # <=>(other) -> -1 | 0 | 1 | nil (6223.0) -
自身と指定された other のバージョンを比較します。 自身が other より新しいなら 1、同じなら 0、古いなら -1 を返します。 比較できない場合に nil を返します。
...を返します。
比較できない場合に nil を返します。
@param other HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトか文字列を指定します。
require 'webrick'
v = WEBrick::HTTPVersion.new('1.1')
p v < '1.0' #=> false... -
Comparable
# >=(other) -> bool (6128.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数か 0 を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
...比較演算子 <=> をもとにオブジェクト同士を比較します。
<=> が正の整数か 0 を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。......@raise ArgumentError <=> が nil を返したときに発生します。
//emlist[例][ruby]{
1 >= 0 # => true
1 >= 1 # => true
1 >= 2 # => false
//}... -
FalseClass
# &(other) -> false (3367.0) -
常に false を返します。
... false を返します。
@param other 論理積を行なう式です。
& は再定義可能な演算子に分類されていますので、通常は false & other の形で使われます。
//emlist[例][ruby]{
p false & true #=> false
p false & false #=> false
p false & nil #=> fa......lse
p false & (1 == 1) #=> false
p false & (1 + 1) #=> false
p false.&(true) #=> false
p false.&(false) #=> false
p false.&(nil) #=> false
p false.&(1 == 1) #=> false
p false.&(1 + 1) #=> false
//}... -
NilClass
# &(other) -> false (3277.0) -
常に false を返します。
...常に false を返します。
@param other 論理積を行なう式です
//emlist[例][ruby]{
nil & true # => false
nil & false # => false
nil & nil # => false
nil & "a" # => false
//}...