3311件ヒット
[1-100件を表示]
(0.061秒)
別のキーワード
種類
- インスタンスメソッド (2968)
- 特異メソッド (234)
- モジュール関数 (99)
- 関数 (10)
ライブラリ
- ビルトイン (1435)
-
cgi
/ html (456) -
cgi
/ session (12) -
cgi
/ util (12) - cmath (6)
- csv (96)
- date (24)
- delegate (12)
- digest (24)
- erb (24)
- fiddle (12)
- ipaddr (36)
- logger (12)
- mkmf (24)
- openssl (120)
- pathname (12)
- psych (24)
- rake (96)
-
rake
/ loaders / makefile (12) -
rdoc
/ context (12) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) -
rdoc
/ parser (12) - readline (12)
-
rexml
/ document (420) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) -
rubygems
/ requirement (12) -
rubygems
/ version (12) - set (27)
-
shell
/ filter (18) - stringio (12)
- strscan (24)
- thread (6)
- time (24)
- timeout (21)
-
webrick
/ httpservlet / abstract (72) -
webrick
/ httputils (60) -
webrick
/ httpversion (12) -
webrick
/ log (12) - zlib (24)
クラス
- Array (129)
- BasicObject (48)
- Bignum (6)
- CGI (12)
-
CGI
:: Session (12) - CSV (72)
-
CSV
:: Row (12) -
CSV
:: Table (12) - Class (12)
- Complex (6)
- Date (24)
-
Digest
:: Base (24) -
Encoding
:: Converter (24) - Exception (12)
-
Fiddle
:: Pointer (12) -
File
:: Stat (12) - Fixnum (12)
- Float (36)
-
Gem
:: Requirement (12) -
Gem
:: Version (12) - Hash (20)
- IO (12)
- IPAddr (36)
- Integer (72)
- Logger (12)
- Method (7)
- Module (156)
- Numeric (72)
- Object (120)
-
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) -
REXML
:: Attributes (84) -
REXML
:: CData (12) -
REXML
:: Element (132) -
REXML
:: Elements (96) -
REXML
:: Parent (36) -
REXML
:: Text (24) -
REXML
:: XPath (36) -
Rake
:: EarlyTime (12) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (12) - Range (107)
- Rational (12)
-
RubyVM
:: InstructionSequence (72) - Set (36)
-
Shell
:: Filter (18) - String (148)
- StringIO (12)
- StringScanner (24)
- Symbol (12)
- Thread (42)
-
Thread
:: SizedQueue (36) - Time (36)
- UnboundMethod (12)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
WEBrick
:: HTTPUtils :: FormData (60) -
WEBrick
:: HTTPVersion (12) -
Zlib
:: Deflate (12) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: HtmlExtension (456) - CMath (6)
- Comparable (24)
-
ERB
:: Util (24) - Enumerable (96)
- FileUtils (12)
- Kernel (72)
- Math (12)
-
OpenSSL
:: Buffering (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24) -
Rake
:: TaskManager (60) - Timeout (21)
オブジェクト
-
Readline
:: HISTORY (12)
キーワード
- != (12)
- % (12)
- << (344)
- <= (61)
- <=> (252)
- == (12)
- === (24)
- > (6)
- >> (6)
- DelegateClass (12)
- [] (84)
- []= (12)
- add (48)
- add? (12)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ row (12) -
add
_ special (12) -
add
_ tag (12) - atanh (12)
- atanh! (6)
- attribute (12)
-
backtrace
_ locations (24) - bind (12)
- call (12)
- caption (24)
-
checkbox
_ group (24) -
class
_ variables (12) - cmp (24)
- compile (12)
-
compile
_ file (12) - concat (45)
-
const
_ source _ location (12) - convert (36)
- cover? (19)
-
define
_ task (12) - delete (24)
-
delete
_ all (24) -
delete
_ attribute (12) - disasm (12)
- disassemble (12)
- div (12)
- divmod (24)
-
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - downto (24)
- each (24)
-
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - enq (12)
- entitydecl (12)
-
enum
_ for (24) -
file
_ field (24) - filename (12)
- filename= (12)
- 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) -
instance
_ eval (24) -
instance
_ methods (12) -
instance
_ of? (12) - intern (12)
-
is
_ a? (12) -
kind
_ of? (12) - load (12)
- lookup (12)
- match (12)
- max (128)
-
method
_ defined? (12) - methods (12)
- min (128)
- modulo (12)
-
multipart
_ form (48) - name (12)
- name= (12)
- new (48)
-
new
_ ntoh (12) - of (12)
- pack (21)
- parse (24)
-
parse
_ files _ matching (12) -
password
_ field (24) - pretty (12)
- print (12)
-
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ method _ defined? (12) - push (36)
- puts (12)
-
radio
_ group (24) -
rb
_ time _ timespec _ new (10) - remainder (12)
- replacement= (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - reset (24)
- ruby (12)
-
scrolling
_ list (24) - scrub (36)
- scrub! (36)
-
set
_ backtrace (12) - split (19)
-
start
_ prefix _ mapping (12) - submit (24)
-
synthesize
_ file _ task (12) -
tag
_ start (12) - test (24)
- text (12)
- text= (12)
-
text
_ field (24) - timeout (21)
-
to
_ a (12) -
to
_ enum (24) -
try
_ cpp (24) -
undef
_ method (12) - unpack (12)
- update (36)
- yield (12)
検索結果
先頭5件
-
Module
# <(other) -> bool | nil (18142.0) -
比較演算子。self が other の子孫である場合、 true を返します。 self が other の先祖か同一のクラス/モジュールである場合、false を返します。
...す。
@param other 比較対象のモジュールやクラス
@raise TypeError other がクラスやモジュールではない場合に発生します。
//emlist[例][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 (18124.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 (18118.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
... <=> をもとにオブジェクト同士を比較します。
<=> が負の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <......=> が nil を返したときに発生します。
//emlist[例][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Integer
# <(other) -> bool (18118.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Float
# <(other) -> bool (18112.0) -
比較演算子。数値として小さいか判定します。
...数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # => true
//}... -
Shell
:: Filter # <(src) -> self (18112.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"
}... -
Fixnum
# <(other) -> bool (18106.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。... -
REXML
:: Elements # <<(element = nil) -> REXML :: Element (6118.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>"
//}... -
Float
# <=(other) -> bool (6112.0) -
比較演算子。数値として等しいまたは小さいか判定します。
...ます。
@param other 比較対象の数値
@return self よりも other の方が大きい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # =... -
Module
# <=>(other) -> Integer | nil (6112.0) -
self と other の継承関係を比較します。
...@param other 比較対象のクラスやモジュール
//emlist[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
end
class Qux
end
p Bar <=> Foo # => -1
p Baz <=> Bar # => -1
p Baz <=> Foo # => -1
p Baz <=> Qux # => nil
p Qux <=> Baz # => nil
p Baz <=>...