335件ヒット
[1-100件を表示]
(0.169秒)
ライブラリ
- ビルトイン (120)
- csv (14)
- matrix (12)
-
minitest
/ unit (1) -
net
/ http (22) - pathname (16)
- pp (11)
- psych (11)
- rake (66)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) - strscan (22)
- thread (12)
- thwait (6)
クラス
- Array (3)
-
CSV
:: Table (11) -
Encoding
:: Converter (55) - Matrix (12)
-
Net
:: HTTP (22) - Object (11)
- Pathname (16)
-
Psych
:: Handler (11) -
REXML
:: Elements (11) -
REXML
:: Parsers :: PullParser (11) -
Rake
:: InvocationChain (33) -
Rake
:: InvocationChain :: EmptyInvocationChain (33) - String (11)
- StringScanner (22)
-
Thread
:: Queue (33) -
Thread
:: SizedQueue (33) - ThreadsWait (6)
モジュール
キーワード
- antisymmetric? (6)
- append (22)
-
assert
_ empty (1) -
close
_ on _ empty _ response (11) -
close
_ on _ empty _ response= (11) - deq (22)
- empty? (52)
- eos? (11)
-
has
_ next? (11) - member? (22)
-
next
_ wait (6) - pop (22)
-
pretty
_ print _ cycle (11) -
primitive
_ convert (44) -
primitive
_ errinfo (11) - shift (22)
-
skew
_ symmetric? (6) -
to
_ csv (3) -
to
_ s (22) - zero? (8)
検索結果
先頭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) -
偽を返します。
偽を返します。 -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (9101.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。