別のキーワード
種類
ライブラリ
- English (48)
- ビルトイン (2244)
- bigdecimal (36)
-
cgi
/ html (456) -
cgi
/ session (12) -
cgi
/ util (12) - cmath (6)
- csv (132)
- date (24)
- delegate (12)
- digest (24)
- erb (24)
- fiddle (24)
- ipaddr (36)
- logger (13)
- mkmf (24)
-
net
/ pop (12) - nkf (12)
- observer (12)
- openssl (120)
- ostruct (12)
- pathname (12)
- profiler (6)
- psych (36)
- rake (132)
-
rake
/ loaders / makefile (12) -
rdoc
/ context (12) -
rdoc
/ markup (24) -
rdoc
/ markup / formatter (12) -
rdoc
/ parser (12) -
rdoc
/ parser / ruby (12) - readline (12)
-
rexml
/ document (768) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) -
ripper
/ filter (12) -
rubygems
/ dependency (12) -
rubygems
/ dependency _ list (12) -
rubygems
/ requirement (24) -
rubygems
/ version (24) - set (27)
-
shell
/ filter (18) - stringio (12)
- strscan (24)
- thread (12)
- time (24)
- timeout (21)
-
webrick
/ httpservlet / abstract (72) -
webrick
/ httputils (108) -
webrick
/ httpversion (12) -
webrick
/ log (12) - zlib (36)
クラス
- Array (245)
- BasicObject (60)
- BigDecimal (36)
- Bignum (9)
- CGI (12)
-
CGI
:: Session (12) - CSV (72)
-
CSV
:: Row (36) -
CSV
:: Table (12) - Class (28)
- Complex (30)
- Date (24)
-
Digest
:: Base (24) -
Encoding
:: Converter (24) -
Enumerator
:: Lazy (84) -
Enumerator
:: Yielder (12) - Exception (24)
-
Fiddle
:: Pointer (12) -
File
:: Stat (12) - Fixnum (15)
- Float (48)
-
Gem
:: Dependency (12) -
Gem
:: DependencyList (12) -
Gem
:: Requirement (24) -
Gem
:: Version (12) - Hash (149)
- IO (12)
- IPAddr (36)
- Integer (84)
- Logger (12)
- Method (42)
- Module (168)
-
Net
:: POP3 (12) - Numeric (72)
- Object (132)
-
OpenSSL
:: BN (36) -
OpenSSL
:: Digest (24) -
OpenSSL
:: HMAC (24) -
OpenSSL
:: X509 :: Name (24) - Pathname (12)
- Proc (55)
-
Psych
:: Visitors :: YAMLTree (24) -
RDoc
:: Context (12) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) -
RDoc
:: Parser (12) -
RDoc
:: Parser :: Ruby (12) -
REXML
:: Attributes (168) -
REXML
:: CData (36) -
REXML
:: Comment (12) -
REXML
:: Document (60) -
REXML
:: Element (180) -
REXML
:: Elements (108) -
REXML
:: Instruction (24) -
REXML
:: Parent (36) -
REXML
:: Text (24) -
REXML
:: XPath (36) -
Rake
:: EarlyTime (12) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (24) - Range (147)
- Rational (12)
-
RubyVM
:: InstructionSequence (154) - Set (36)
-
Shell
:: Filter (18) - String (148)
- StringIO (12)
- StringScanner (24)
- Symbol (12)
- Thread (42)
-
Thread
:: Backtrace :: Location (12) -
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) - Time (36)
- TracePoint (7)
- UnboundMethod (12)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
WEBrick
:: HTTPUtils :: FormData (108) -
WEBrick
:: HTTPVersion (12) -
Zlib
:: Deflate (12) -
Zlib
:: GzipWriter (12) -
Zlib
:: Inflate (12)
モジュール
-
CGI
:: HtmlExtension (456) - CMath (6)
- Comparable (24)
-
ERB
:: Util (24) - Enumerable (204)
- FileUtils (12)
- Kernel (132)
- Math (12)
-
OpenSSL
:: Buffering (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24) -
Rake
:: TaskManager (84) - Timeout (21)
オブジェクト
-
Readline
:: HISTORY (12)
キーワード
- ! (12)
- != (12)
-
$ < (12) -
$ DEFAULT _ INPUT (12) -
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) -
$ LAST _ PAREN _ MATCH (12) - % (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (404)
- <= (85)
- <=> (312)
- == (12)
- === (24)
- > (6)
- >> (6)
- Application (1)
- Attribute (12)
- BasicObject (12)
- CSV (12)
- Closure (12)
- Comment (12)
- Default (12)
- DelegateClass (12)
- Filter (12)
- Instruction (12)
- Markup (12)
- Marshal フォーマット (12)
-
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - NKF (12)
- Numeric (12)
- OPS (12)
- Observable (12)
- OpenStruct (12)
- Parser (12)
- Pretty (12)
-
Profiler
_ _ (6) - Ruby プログラムの実行 (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- SINGLE (12)
- Transitive (12)
- Version (12)
- XMLDecl (12)
- [] (84)
- []= (24)
-
absolute
_ path (12) - add (60)
- add? (12)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ row (12) -
add
_ special (12) -
add
_ tag (12) - ancestors (12)
- atanh (12)
- atanh! (6)
- attribute (12)
-
backtrace
_ locations (36) -
base
_ label (24) - bigdecimal (12)
-
bigdecimal
/ jacobian (12) -
bigdecimal
/ newton (12) - bind (12)
-
bit
_ length (18) - bsearch (48)
-
bsearch
_ index (20) - call (12)
- caption (24)
- cgi (12)
-
cgi
/ session (12) -
checkbox
_ group (24) -
chunk
_ while (12) -
class
_ variables (12) - clear (12)
- cmp (24)
- compile (12)
-
compile
_ file (12) - concat (45)
-
const
_ source _ location (12) - content (12)
- convert (36)
- cover? (19)
- debug (12)
-
define
_ task (12) - delete (24)
-
delete
_ all (24) -
delete
_ attribute (12) -
delete
_ if (24) - disasm (24)
- disassemble (24)
- div (12)
- divmod (24)
-
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - downto (24)
-
drop
_ while (60) - each (36)
-
each
_ attribute (12) -
each
_ data (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - encoding (12)
- enq (24)
- entitydecl (12)
-
enum
_ for (48) -
file
_ field (24) - filename (12)
- filename= (12)
- filter (14)
- first (12)
- form (48)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - h (12)
- hidden (24)
- html (24)
-
html
_ escape (12) - img (24)
- include (12)
- include? (12)
- inherited (12)
- initialize (12)
-
insert
_ output (12) - inspect (12)
-
instance
_ eval (24) -
instance
_ methods (12) -
instance
_ of? (12) -
instruction
_ sequence (7) - intern (12)
-
is
_ a? (12) -
kind
_ of? (12) - label (12)
- lazy (12)
- length (12)
- list (12)
- load (12)
- logger (12)
- lookup (12)
- match (12)
- max (130)
-
method
_ defined? (12) - methods (12)
- min (130)
-
minitest
/ unit (1) - minmax (12)
- modulo (12)
-
multipart
_ form (48) - name (12)
- name= (12)
- namespaces (12)
-
net
/ smtp (12) - new (48)
-
new
_ ntoh (12) -
next
_ element (12) - of (12)
- open-uri (12)
- pack (21)
- pack テンプレート文字列 (12)
- parse (24)
-
parse
_ files _ matching (12) -
password
_ field (24) - path (12)
- pp (12)
- prefixes (12)
- pretty (12)
- print (12)
-
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ method _ defined? (12) - push (48)
- puts (12)
-
radio
_ group (24) -
rb
_ ary _ store (12) -
rb
_ time _ timespec _ new (10) - rdoc (12)
-
rdoc
/ markdown (12) -
rdoc
/ parser (12) - reject (24)
- reject! (24)
- remainder (12)
- replacement= (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - reset (24)
-
rexml
/ document (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) -
rinda
/ rinda (12) - root (12)
-
root
_ node (12) - ruby (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) - rubygems (12)
-
rubygems
/ command _ manager (12) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / help _ command (12) -
scrolling
_ list (24) - scrub (36)
- scrub! (36)
- select (24)
-
set
_ backtrace (12) -
set
_ debug _ output (12) - shell (6)
- size (24)
-
slice
_ when (12) - sort (24)
-
spec
_ predecessors (12) - split (19)
-
stand
_ alone? (12) -
start
_ prefix _ mapping (12) - subclasses (4)
- submit (24)
-
super
_ method (11) - superclass (12)
-
synthesize
_ file _ task (12) -
tag
_ start (12) -
take
_ while (72) - target (12)
- tasks (24)
- test (24)
-
test
/ unit (1) - text (12)
- text= (12)
-
text
_ field (24) - timeout (21)
-
to
_ a (24) -
to
_ ary (24) -
to
_ binary (10) -
to
_ csv (12) -
to
_ enum (48) -
to
_ h (19) -
to
_ s (36) -
try
_ cpp (24) -
undef
_ method (12) - unpack (12)
- update (36)
- value (12)
- version (12)
-
webrick
/ cgi (12) - xmlrpc (3)
- xpath (12)
- yield (12)
- クラス/メソッドの定義 (12)
- パターンマッチ (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
- 制御構造 (12)
- 変数と定数 (12)
- 正規表現 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Module
# <(other) -> bool | nil (18136.0) -
比較演算子。self が other の子孫である場合、 true を返します。 self が other の先祖か同一のクラス/モジュールである場合、false を返します。
...t[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
end
class Qux
end
p Bar < Foo # => true
p Baz < Bar # => true
p Baz < Foo # => true
p Baz < Qux # => nil
p Baz > Qux # => nil
p Foo < Object.new # => in `<': compared with non class/module (TypeError)
//}... -
Hash
# <(other) -> bool (18118.0) -
self が other のサブセットである場合に真を返します。
...サブセットである場合に真を返します。
@param other 自身と比較したい Hash オブジェクトを指定します。
//emlist[例][ruby]{
h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 < h2 # => true
h2 < h1 # => false
h1 < h1 # => false
//}
@see Hash#<=, Hash#>=, Hash#>... -
Comparable
# <(other) -> bool (18112.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
... <=> をもとにオブジェクト同士を比較します。
<=> が負の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <......=> が nil を返したときに発生します。
//emlist[例][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Integer
# <(other) -> bool (18112.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Float
# <(other) -> bool (18106.0) -
比較演算子。数値として小さいか判定します。
...数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # => true
//}... -
Shell
:: Filter # <(src) -> self (18106.0) -
srcをフィルタの入力とする。 srcが, 文字列ならばファイルを, IOオブジェクトであれ ばそれをそのまま入力とする。
...ばそれをそのまま入力とする。
@param src フィルタの入力を, 文字列もしくは,IO オブジェクトで指定します。
使用例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
(sh.head("-n 30") < "/etc/passwd") > "ugo.txt"
}... -
BigDecimal
# <(other) -> bool (18100.0) -
self が other より小さい場合に true を、そうでない場合に false を返しま す。
self が other より小さい場合に true を、そうでない場合に false を返しま
す。 -
Complex
# <(other) -> bool (18100.0) -
@undef
@undef -
Fixnum
# <(other) -> bool (18100.0) -
比較演算子。数値として小さいか判定します。
比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。 -
REXML
:: Elements # <<(element = nil) -> REXML :: Element (6112.0) -
要素 element を追加します。
...す。
追加された要素が返されます。
@param element 追加する要素
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new('a')
a.elements.add(REXML::Element.new('b')) # => <b/>
a.to_s # => "<a><b/></a>"
a.elements.add('c') # => <c/>
a.to_s # => "<a><b/><c/></a>"
//}...