るりまサーチ

最速Rubyリファレンスマニュアル検索!
1142件ヒット [1101-1142件を表示] (0.021秒)
トップページ > クエリ:@[x] > ライブラリ:pathname[x]

クラス

モジュール

キーワード

検索結果

<< < ... 10 11 12 >>

Pathname#write(string, offset=nil, **opts) -> Integer (8.0)

...IO.write(self.to_s, string, offset, **opts)と同じです。

@
see IO.write...

Pathname#zero? -> bool (8.0)

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

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


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


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

Pathname.getwd -> Pathname (8.0)

カレントディレクトリを元に Pathname オブジェクトを生成します。 Pathname.new(Dir.getwd) と同じです。

...カレントディレクトリを元に Pathname オブジェクトを生成します。
Pathname
.new(Dir.getwd) と同じです。

//emlist[例][ruby]{
require "pathname"

Pathname
.getwd #=> #<Pathname:/home/zzak/projects/ruby>
//}

@
see Dir.getwd...

Pathname.pwd -> Pathname (8.0)

カレントディレクトリを元に Pathname オブジェクトを生成します。 Pathname.new(Dir.getwd) と同じです。

...カレントディレクトリを元に Pathname オブジェクトを生成します。
Pathname
.new(Dir.getwd) と同じです。

//emlist[例][ruby]{
require "pathname"

Pathname
.getwd #=> #<Pathname:/home/zzak/projects/ruby>
//}

@
see Dir.getwd...
<< < ... 10 11 12 >>