367件ヒット
[1-100件を表示]
(0.128秒)
ライブラリ
- ビルトイン (132)
- csv (16)
- matrix (14)
-
minitest
/ unit (1) -
net
/ http (24) - pathname (18)
- pp (12)
- psych (12)
- rake (72)
-
rexml
/ document (12) -
rexml
/ parsers / pullparser (12) - strscan (24)
- thread (12)
- thwait (6)
クラス
- Array (4)
-
CSV
:: Table (12) -
Encoding
:: Converter (60) - Matrix (14)
-
Net
:: HTTP (24) - Object (12)
- Pathname (18)
-
Psych
:: Handler (12) -
REXML
:: Elements (12) -
REXML
:: Parsers :: PullParser (12) -
Rake
:: InvocationChain (36) -
Rake
:: InvocationChain :: EmptyInvocationChain (36) - String (12)
- StringScanner (24)
-
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) - ThreadsWait (6)
モジュール
キーワード
- antisymmetric? (7)
- append (24)
-
assert
_ empty (1) -
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) - deq (24)
- empty? (57)
- eos? (12)
-
has
_ next? (12) - member? (24)
-
next
_ wait (6) - pop (24)
-
pretty
_ print _ cycle (12) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - shift (24)
-
skew
_ symmetric? (7) -
to
_ csv (4) -
to
_ s (24) - zero? (9)
検索結果
先頭5件
-
Psych
:: Handler # empty -> () (21118.0) -
empty event が発生したときに呼び出されます。
...
empty event が発生したときに呼び出されます。
実際問題としてこれが呼び出される例は知られていません。... -
Net
:: HTTP # close _ on _ empty _ response -> bool (12208.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを返します。
...レスポンスがボディを持っていない場合にコネクションを
閉じるかどうかを返します。
デフォルトでは偽(閉じない)です。
@see Net::HTTP#close_on_empty_response=... -
Net
:: HTTP # close _ on _ empty _ response=(bool) (12208.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを設定します。
...ンスがボディを持っていない場合にコネクションを
閉じるかどうかを設定します。
@param bool レスポンスがボディを持っていない場合にコネクションを
閉じるかどうか指定します。
@see Net::HTTP#close_on_empty_response... -
Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (12101.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
MiniTest
:: Assertions # assert _ empty(object , message = nil) -> true (9208.0) -
与えられたオブジェクトが空である場合、検査にパスしたことになります。
...Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 与えられたオブジェクトが empty? メソッドを持たない場合に発生します。
また、与えられたオブジェ... -
Pathname
# empty? -> bool (9170.0) -
ディレクトリに対しては Dir.empty?(self.to_s) と同じ、他に対しては FileTest.empty?(self.to_s) と同じです。
...ては Dir.empty?(self.to_s) と同じ、他に対しては FileTest.empty?(self.to_s) と同じです。
//emlist[例 ディレクトリの場合][ruby]{
require "pathname"
require 'tmpdir'
Pathname("/usr/local").empty? # => false
Dir.mktmpdir { |dir| Pathname(dir).empty? } # => tru......e
//}
//emlist[例 ファイルの場合][ruby]{
require "pathname"
require 'tempfile'
Pathname("testfile").empty? # => false
Tempfile.create("tmp") { |tmp| Pathname(tmp).empty? } # => true
//}
@see Dir.empty?, FileTest.#empty?, Pathname#zero?... -
String
# empty? -> bool (9120.0) -
文字列が空 (つまり長さ 0) の時、真を返します。
...文字列が空 (つまり長さ 0) の時、真を返します。
//emlist[例][ruby]{
"hello".empty? #=> false
" ".empty? #=> false
"".empty? #=> true
//}... -
StringScanner
# empty? -> bool (9108.0) -
スキャンポインタが文字列の末尾を指しているなら true を、 末尾以外を指しているなら false を返します。
...t[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.eos? # => false
s.scan(/\w+/)
s.scan(/\s+/)
s.scan(/\w+/)
s.eos? # => true
//}
StringScanner#empty? は将来のバージョンで削除される予定です。
代わりに StringScanner#eos? を使ってくだ... -
REXML
:: Elements # empty? -> bool (9102.0) -
子要素を持たない場合に true を返します。
子要素を持たない場合に true を返します。 -
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (9101.0) -
偽を返します。
偽を返します。