るりまサーチ

最速Rubyリファレンスマニュアル検索!
1010件ヒット [201-300件を表示] (0.092秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Pathname#relative? -> bool (27119.0)

self が相対パス指定であれば真を返します。

...self が相対パス指定であれば真を返します。

//emlist[例][ruby]{
r
equire 'pathname'

p = Pathname.new('/im/sure')
p.relative? #=> false

p = Pathname.new('not/so/sure')
p.relative? #=> true
//}...

Pathname#root? -> bool (27119.0)

self がルートディレクトリであれば真を返します。判断は文字列操作によっ て行われ、ファイルシステムはアクセスされません。

...self がルートディレクトリであれば真を返します。判断は文字列操作によっ
て行われ、ファイルシステムはアクセスされません。

//emlist[例][ruby]{
r
equire 'pathname'

Pathname
('/').root? # => true
Pathname
('/im/sure').root? # => false
//}...

Pathname#zero? -> bool (27107.0)

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

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


@see FileTest.#zero?
, Pathname#empty?...

Pathname#birthtime -> Time (27101.0)

File.birthtime(self.to_s) を渡したものと同じです。

...File.birthtime(self.to_s) を渡したものと同じです。

@raise NotImplementedError Windows のような birthtime のない環境で発生します。


@see File.birthtime...

Pathname#chardev? -> bool (27101.0)

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

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


@see FileTest.#chardev?...

絞り込み条件を変える

Pathname#directory? -> bool (27101.0)

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

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


@see FileTest.#directory?...

Pathname#executable_real? -> bool (27101.0)

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

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


@see FileTest.#executable_real?...

Pathname#grpowned? -> bool (27101.0)

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

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


@see FileTest.#grpowned?...

Pathname#mkdir(*args) -> 0 (27101.0)

Dir.mkdir(self.to_s, *args) と同じです。

...Dir.mkdir(self.to_s, *args) と同じです。


@see Dir.mkdir...

Pathname#opendir {|dir| ... } -> nil (27101.0)

Dir.open(self.to_s, &block) と同じです。

...Dir.open(self.to_s, &block) と同じです。


@see Dir.open...

絞り込み条件を変える

<< < 1 2 3 4 5 ... > >>