るりまサーチ

最速Rubyリファレンスマニュアル検索!
590件ヒット [1-100件を表示] (0.103秒)
トップページ > クエリ:t[x] > クエリ:directory[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

<< 1 2 3 ... > >>

test/unit (26018.0)

ユニットテストを行うためのライブラリです。

...参照してください。

* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/

なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある...
...ィングフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html

=== 使い方

T
est::Unit は以下のように使います。

まずテスト対象...
...at once
--no-retry Don't retry running testcase when --jobs specified
--ruby VAL Path to ruby; It'll have used at -j option
-q, --hide-skip Hide skipped tests
-b, --basedir=DIR Base directory of test...

Kernel#directory(dir) -> () (24207.0)

与えられたディレクトリを作成するタスクを定義します。

...与えられたディレクトリを作成するタスクを定義します。

@param dir 作成するディレクトリを指定します。

例:
directory
'testdata/doc'...

Gem::Indexer#directory -> String (24201.0)

インデックスをビルドするための一時的なディレクトリを返します。

インデックスをビルドするための一時的なディレクトリを返します。

FileTest.#directory?(file) -> bool (12225.0)

ファイルがディレクトリの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...ブジェクト file が既に close されていた場合に発生します。

例:
FileTest.directory?('/etc') # => true
FileTest.directory?('/etc/passwd') # => false

f = File.open('/etc')
FileTest.directory?(f) # => true
f.close
FileTest.directory?(f) # => IOError: closed stream...

Pathname#directory? -> bool (12223.0)

FileTest.directory?(self.to_s) と同じです。

...FileTest.directory?(self.to_s) と同じです。


@see FileTest.#directory?...

絞り込み条件を変える

File.directory?(path) -> bool (12217.0)

FileTest.#directory? と同じです。

...FileTest.#directory? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

File::Stat#directory? -> bool (12213.0)

ディレクトリの時に真を返します。

...ディレクトリの時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
//}

@see FileTest.#directory?...

Shell#directory?(file) -> bool (12207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Shell::CommandProcessor#directory?(file) -> bool (12207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Shell::Filter#directory?(file) -> bool (12207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

絞り込み条件を変える

Gem::Indexer#dest_directory -> String (12201.0)

インデックスを保存するディレクトリを返します。

インデックスを保存するディレクトリを返します。
<< 1 2 3 ... > >>