3650件ヒット
[1-100件を表示]
(0.051秒)
別のキーワード
ライブラリ
- ビルトイン (1907)
-
cgi
/ html (456) - csv (96)
- date (24)
- delegate (12)
- digest (24)
- fiddle (12)
- ipaddr (24)
- logger (12)
- mkmf (24)
-
net
/ pop (12) - 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) -
rexml
/ document (396) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) -
rubygems
/ dependency _ list (12) -
rubygems
/ requirement (12) -
rubygems
/ version (12) - set (27)
-
shell
/ filter (18) - stringio (12)
- strscan (24)
- thread (6)
-
webrick
/ httpservlet / abstract (72) -
webrick
/ httputils (60) -
webrick
/ httpversion (12) -
webrick
/ log (12) - zlib (24)
クラス
- Array (233)
- BasicObject (60)
- Bignum (9)
- CSV (72)
-
CSV
:: Row (12) -
CSV
:: Table (12) - Class (20)
- Complex (30)
- Date (24)
-
Digest
:: Base (24) -
Encoding
:: Converter (24) -
Enumerator
:: Lazy (36) - Exception (24)
-
Fiddle
:: Pointer (12) -
File
:: Stat (12) - Fixnum (15)
- Float (36)
-
Gem
:: DependencyList (12) -
Gem
:: Requirement (12) -
Gem
:: Version (12) - Hash (144)
- IO (12)
- IPAddr (24)
- 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) -
REXML
:: Attributes (96) -
REXML
:: CData (24) -
REXML
:: Element (132) -
REXML
:: Elements (96) -
REXML
:: Parent (36) -
REXML
:: Text (12) -
Rake
:: EarlyTime (12) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (12) - Range (135)
- Rational (12)
-
RubyVM
:: InstructionSequence (82) - Set (36)
-
Shell
:: Filter (18) - String (148)
- StringIO (12)
- StringScanner (24)
- Symbol (12)
- Thread (24)
-
Thread
:: Backtrace :: Location (12) -
Thread
:: SizedQueue (36) - Time (12)
- TracePoint (7)
- 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) - Comparable (24)
- Enumerable (180)
- FileUtils (12)
- Kernel (36)
-
OpenSSL
:: Buffering (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24) -
Rake
:: TaskManager (60)
キーワード
- ! (12)
- != (12)
- % (12)
- << (332)
- <= (73)
- <=> (264)
- == (12)
- === (24)
- > (6)
- >> (6)
- DelegateClass (12)
- [] (72)
- []= (24)
-
absolute
_ path (12) - add (48)
- add? (12)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ row (12) -
add
_ special (12) -
add
_ tag (12) - ancestors (12)
- attribute (12)
-
backtrace
_ locations (36) -
base
_ label (24) - bind (12)
-
bit
_ length (18) - bsearch (48)
-
bsearch
_ index (20) - call (12)
- caption (24)
-
checkbox
_ group (24) -
chunk
_ while (12) -
class
_ variables (12) - cmp (24)
- concat (45)
-
const
_ source _ location (12) - convert (36)
- cover? (19)
-
define
_ task (12) - delete (24)
-
delete
_ all (24) -
delete
_ attribute (12) -
delete
_ if (24) - 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)
-
drop
_ while (36) - each (12)
-
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - enq (12)
- entitydecl (12)
-
enum
_ for (24) -
file
_ field (24) - filename (12)
- filename= (12)
- filter (14)
- form (48)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - hidden (24)
- html (24)
- 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)
- load (12)
- lookup (12)
- max (130)
-
method
_ defined? (12) - methods (12)
- min (130)
- modulo (12)
-
multipart
_ form (48) - name (12)
- name= (12)
- pack (21)
-
parse
_ files _ matching (12) -
password
_ field (24) - path (12)
-
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ method _ defined? (12) - push (36)
- puts (12)
-
radio
_ group (24) - reject (24)
- reject! (24)
- remainder (12)
- replacement= (12)
- reset (24)
- ruby (12)
-
scrolling
_ list (24) - scrub (36)
- scrub! (36)
- select (24)
-
set
_ backtrace (12) -
set
_ debug _ output (12) -
slice
_ when (12) - sort (24)
-
spec
_ predecessors (12) - split (19)
-
start
_ prefix _ mapping (12) - subclasses (4)
- submit (24)
-
super
_ method (11) - superclass (4)
-
synthesize
_ file _ task (12) -
tag
_ start (12) -
take
_ while (72) - text (12)
- text= (12)
-
text
_ field (24) -
to
_ a (24) -
to
_ ary (12) -
to
_ binary (10) -
to
_ enum (24) -
to
_ h (14) -
to
_ s (24) -
try
_ cpp (24) -
undef
_ method (12) - unpack (12)
- update (36)
- value (12)
- yield (12)
検索結果
先頭5件
-
Module
# <(other) -> bool | nil (18149.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 (18131.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 (18125.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
... <=> をもとにオブジェクト同士を比較します。
<=> が負の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <......=> が nil を返したときに発生します。
//emlist[例][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Integer
# <(other) -> bool (18125.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Float
# <(other) -> bool (18119.0) -
比較演算子。数値として小さいか判定します。
...数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # => true
//}... -
Complex
# <(other) -> bool (18117.0) -
@undef
...
@undef... -
Fixnum
# <(other) -> bool (18113.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。... -
Shell
:: Filter # <(src) -> self (18113.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"
}... -
StringScanner
# <<(str) -> self (6131.0) -
操作対象の文字列に対し str を破壊的に連結します。 マッチ記録は変更されません。
...記録は変更されません。
selfを返します。
@param str 操作対象の文字列に対し str を破壊的に連結します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test') # => #<StringScanner 0/4 @ "test">
s.scan(/\w(\w*)/) # => "test"
s[0]......# => "test"
s[1] # => "est"
s << ' string' # => #<StringScanner 4/11 "test" @ " stri...">
s[0] # => "test"
s[1] # => "est"
s.scan(/\s+/) # => " "
s.scan(/\w+/)......w に渡した文字列にも影響することがあります。
//emlist[例][ruby]{
require 'strscan'
str = 'test'
s = StringScanner.new(str) # => #<StringScanner 0/4 @ "test">
s << ' string' # => #<StringScanner 0/11 @ "test ...">
str # => "test string"
//}... -
Float
# <=(other) -> bool (6119.0) -
比較演算子。数値として等しいまたは小さいか判定します。
...ます。
@param other 比較対象の数値
@return self よりも other の方が大きい場合か、
両者が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # =...