2208件ヒット
[1-100件を表示]
(0.116秒)
別のキーワード
ライブラリ
- ビルトイン (1278)
-
cgi
/ html (253) - csv (11)
- delegate (11)
- digest (22)
- mkmf (22)
-
net
/ pop (11) - openssl (44)
- psych (22)
- rake (11)
-
rake
/ loaders / makefile (11) -
rdoc
/ markup (11) -
rexml
/ document (308) -
rexml
/ sax2listener (11) - stringio (11)
- thread (6)
-
webrick
/ httpservlet / abstract (66) -
webrick
/ httputils (55) -
webrick
/ httpversion (11) -
webrick
/ log (11) - zlib (22)
クラス
- Array (134)
- BasicObject (55)
- Bignum (9)
-
CSV
:: Table (11) - Class (14)
- Complex (22)
-
Digest
:: Base (22) -
Encoding
:: Converter (22) -
Enumerator
:: Lazy (22) - Exception (22)
- Fixnum (12)
- Float (22)
- Hash (64)
- IO (11)
- Integer (44)
- Method (16)
- Module (115)
-
Net
:: POP3 (11) - Object (121)
-
OpenSSL
:: BN (33) - Proc (6)
-
Psych
:: Visitors :: YAMLTree (22) -
RDoc
:: Markup (11) -
REXML
:: Attributes (88) -
REXML
:: Element (110) -
REXML
:: Elements (77) -
REXML
:: Parent (33) -
Rake
:: MakefileLoader (11) - Range (123)
-
RubyVM
:: InstructionSequence (75) - String (94)
- StringIO (11)
- Symbol (11)
- Thread (22)
-
Thread
:: Backtrace :: Location (11) -
Thread
:: SizedQueue (33) - TracePoint (6)
- UnboundMethod (11)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPUtils :: FormData (55) -
WEBrick
:: HTTPVersion (11) -
Zlib
:: Deflate (11) -
Zlib
:: GzipWriter (11)
モジュール
-
CGI
:: HtmlExtension (253) - Comparable (22)
- Enumerable (165)
- FileUtils (11)
- Kernel (33)
-
OpenSSL
:: Buffering (11) -
REXML
:: SAX2Listener (11)
キーワード
- ! (11)
- != (11)
- << (194)
- <= (67)
- <=> (47)
- == (11)
- === (11)
- DelegateClass (11)
- [] (33)
- []= (22)
-
absolute
_ path (11) - add (33)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ special (11) - attribute (11)
-
backtrace
_ locations (33) -
base
_ label (22) - bind (11)
-
bit
_ length (17) - bsearch (44)
-
bsearch
_ index (18) -
checkbox
_ group (22) -
chunk
_ while (11) -
class
_ variables (11) - cmp (11)
-
const
_ source _ location (5) - cover? (17)
- delete (22)
-
delete
_ all (11) -
delete
_ attribute (11) - disasm (11)
- disassemble (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - each (11)
-
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) - enq (11)
-
enum
_ for (22) -
file
_ field (11) - filename (11)
- filename= (11)
- filter (12)
- form (22)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ text (11) - hidden (11)
- html (22)
- img (11)
- include? (11)
- inherited (11)
- initialize (11)
-
insert
_ output (11) - inspect (5)
-
instance
_ eval (22) -
instance
_ methods (11) -
instance
_ of? (11) -
instruction
_ sequence (6) -
is
_ a? (11) -
kind
_ of? (11) - label (11)
- lazy (11)
- load (11)
- max (118)
-
method
_ defined? (11) - methods (11)
- min (118)
-
multipart
_ form (22) - name (11)
- name= (11)
- pack (19)
-
password
_ field (11) - path (11)
-
private
_ method _ defined? (11) -
protected
_ method _ defined? (11) -
public
_ method _ defined? (11) - push (33)
-
radio
_ group (11) - replacement= (11)
- reset (11)
- ruby (11)
-
scrolling
_ list (11) - scrub (33)
- scrub! (33)
- select (22)
-
set
_ backtrace (11) -
set
_ debug _ output (11) -
slice
_ when (11) - sort (22)
- split (17)
-
start
_ prefix _ mapping (11) - subclasses (3)
- submit (22)
-
take
_ while (44) - text (11)
- text= (11)
-
text
_ field (11) -
to
_ a (11) -
to
_ binary (9) -
to
_ enum (22) -
to
_ h (12) -
to
_ s (5) -
try
_ cpp (22) -
undef
_ method (11) - unpack (11)
- update (11)
検索結果
先頭5件
-
Comparable
# <(other) -> bool (21225.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
... <=> をもとにオブジェクト同士を比較します。
<=> が負の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <......=> が nil を返したときに発生します。
//emlist[例][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Module
# <(other) -> bool | nil (18249.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 (18243.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#>... -
Integer
# <(other) -> bool (18225.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 < 1 # => false
1 < 2 # => true
//}... -
Float
# <(other) -> bool (18219.0) -
比較演算子。数値として小さいか判定します。
...数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 < 3.1415 # => true
3.14 <= 3.1415 # => true
//}... -
Complex
# <(other) -> bool (18217.0) -
@undef
...
@undef... -
Fixnum
# <(other) -> bool (18213.0) -
比較演算子。数値として小さいか判定します。
...比較演算子。数値として小さいか判定します。
@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。... -
Bignum
# <<(bits) -> Fixnum | Bignum (9325.0) -
シフト演算子。bits だけビットを左にシフトします。
...シフト演算子。bits だけビットを左にシフトします。
@param bits シフトさせるビット数
printf("%#b\n", 0b0101 << 1) #=> 0b1010
p -1 << 1 #=> -2... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (9225.0) -
name という名前の属性を取得します。
...返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.......get_elements("/root/a").first
a.attributes.get_attribute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9225.0) -
namespace と name で特定される属性を返します。
...す。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
E......get_elements("/root/a").first
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "att... -
OpenSSL
:: BN # <<(other) -> OpenSSL :: BN (9219.0) -
自身を other ビット左シフトした値を返します。
...自身を other ビット左シフトした値を返します。
//emlist[][ruby]{
bn = 1.to_bn
pp bn << 1 # => #<OpenSSL::BN 2>
pp bn # => #<OpenSSL::BN 1>
//}
@param other シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#lshift!...