838件ヒット
[1-100件を表示]
(0.131秒)
ライブラリ
- ビルトイン (462)
-
cgi
/ core (22) -
cgi
/ html (22) - csv (11)
- json (22)
-
net
/ http (33) - openssl (22)
- pathname (11)
- prettyprint (11)
-
rexml
/ document (22) - rss (44)
-
rubygems
/ source _ index (22) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - stringio (44)
- thread (6)
-
webrick
/ httprequest (11) -
webrick
/ server (11) -
win32
/ registry (44)
クラス
- Array (93)
- Bignum (3)
- CGI (11)
- CSV (11)
- Encoding (11)
- File (11)
- Fixnum (3)
-
Gem
:: SourceIndex (22) - IO (11)
-
JSON
:: State (22) -
Net
:: HTTPGenericRequest (22) -
OpenSSL
:: SSL :: SSLSocket (11) - Pathname (11)
- PrettyPrint (11)
-
REXML
:: Attributes (22) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure (22) -
RSS
:: Rss :: Channel :: Item :: Enclosure (22) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (22)
- StringIO (44)
- Struct (22)
-
Thread
:: Queue (33) -
Thread
:: SizedQueue (14) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPRequest (11) -
Win32
:: Registry (44)
モジュール
-
CGI
:: HtmlExtension (22) -
CGI
:: QueryExtension (11) - Enumerable (245)
-
Net
:: HTTPHeader (11) -
OpenSSL
:: Buffering (11)
キーワード
-
bit
_ length (6) -
body
_ stream (11) -
body
_ stream= (11) -
buffer
_ initial _ length (11) -
buffer
_ initial _ length= (11) - chunk (11)
-
chunk
_ while (11) - clear (11)
- combination (11)
-
content
_ length (22) - dummy? (11)
- fetch (11)
- group (11)
- length= (22)
-
max
_ by (44) -
max
_ value _ length (11) -
max
_ value _ name _ length (11) -
min
_ by (44) - minmax (22)
-
minmax
_ by (22) - none? (29)
-
num
_ keys (11) -
num
_ values (11) - one? (29)
- out (11)
-
password
_ field (11) - permutation (22)
- read (33)
-
read
_ nonblock (11) - readpartial (11)
-
repeated
_ combination (11) -
repeated
_ permutation (22) - size (62)
-
slice
_ before (22) -
slice
_ when (11) -
sort
_ by! (11) - sum (16)
- sysread (22)
-
text
_ field (11) - tokens (11)
- truncate (51)
検索結果
先頭5件
-
Thread
:: Queue # length -> Integer (24108.0) -
キューの長さを返します。
...キューの長さを返します。
//emlist[例][ruby]{
require 'thread'
q = Queue.new
[:resource1, :resource2, :resource3, nil].each { |r| q.push(r) }
q.length # => 4
//}......キューの長さを返します。
//emlist[例][ruby]{
q = Queue.new
[:resource1, :resource2, :resource3, nil].each { |r| q.push(r) }
q.length # => 4
//}... -
Thread
:: SizedQueue # length -> Integer (24102.0) -
キューの長さを返します。
キューの長さを返します。 -
REXML
:: Attributes # length -> Integer (21108.0) -
属性の個数を返します。
...ます。
//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
p a.attributes.length # => 3
//}... -
Struct
# length -> Integer (21108.0) -
構造体のメンバの数を返します。
...ドの記述は Struct の下位クラスのインスタンスに対して呼び
出す事を想定しています。Struct.new は Struct の下位クラスを作成する点に
注意してください。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
joe = Customer.new("Joe Sm......ith", "123 Maple, Anytown NC", 12345)
joe.length #=> 3
//}... -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # length (21103.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Enclosure # length (21103.0) -
@todo
@todo -
Gem
:: SourceIndex # length -> Integer (21102.0) -
自身に含まれる Gem の個数を返します。
自身に含まれる Gem の個数を返します。 -
String
# length -> Integer (18132.0) -
文字列の文字数を返します。バイト数を知りたいときは bytesize メソッドを使ってください。
...いときは bytesize メソッドを使ってください。
//emlist[例][ruby]{
"test".length # => 4
"test".size # => 4
"テスト".length # => 3
"テスト".size # => 3
"\x80\u3042".length # => 2
"\x80\u3042".size # => 2
//}
@see String#bytesize... -
JSON
:: State # buffer _ initial _ length=(length) (12351.0) -
This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.
...This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed.... -
JSON
:: State # buffer _ initial _ length -> Integer (12218.0) -
This integer returns the current initial length of the buffer.
...This integer returns the current initial length of the buffer....