るりまサーチ

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

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

ライブラリ

モジュール

キーワード

検索結果

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

Pathname#relative? -> bool (27119.0)

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

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

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

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

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

Pathname#each_filename {|v| ... } -> nil (27113.0)

self のパス名要素毎にブロックを実行します。

...self のパス名要素毎にブロックを実行します。

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

Pathname
.new("/foo/../bar").each_filename {|v| p v}

# => "foo"
# ".."
# "bar"
//}...

Pathname#blockdev? -> bool (27101.0)

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

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


@see FileTest.#blockdev?...

Pathname#executable? -> bool (27101.0)

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

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


@see FileTest.#executable?...

Pathname#executable_real? -> bool (27101.0)

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

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


@see FileTest.#executable_real?...

絞り込み条件を変える

Pathname#file? -> bool (27101.0)

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

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


@see FileTest.#file?...

Pathname#lchmod(mode) -> Integer (27101.0)

File.lchmod(mode, self.to_s) と同じです。

...File.lchmod(mode, self.to_s) と同じです。

@param mode ファイルのアクセス権限を整数で指定します。


@see File.lchmod...

Pathname#lchown(owner, group) -> Integer (27101.0)

File.lchown(owner, group, self.to_s) と同じです。

...File.lchown(owner, group, self.to_s) と同じです。

@param owner オーナーを指定します。

@param group グループを指定します。


@see File.lchown...

Pathname#lstat -> File::Stat (27101.0)

File.lstat(self.to_s) と同じです。

...File.lstat(self.to_s) と同じです。


@see File.lstat...
<< < 1 2 3 4 5 ... > >>