るりまサーチ

最速Rubyリファレンスマニュアル検索!
252件ヒット [1-100件を表示] (0.080秒)

別のキーワード

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

クラス

キーワード

検索結果

<< 1 2 3 > >>

Pathname#file? -> bool (12226.0)

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

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


@see FileTest.#file?...

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

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

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

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

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

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

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

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

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


@see File.lstat...

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

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

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

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


@see File.lchmod...

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

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

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

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

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


@see File.lchown...

絞り込み条件を変える

Pathname#make_link(old) -> 0 (6125.0)

File.link(old, self.to_s) と同じです。

...File.link(old, self.to_s) と同じです。


@see File.link...

Pathname#make_symlink(old) -> 0 (6125.0)

File.symlink(old, self.to_s) と同じです。

...File.symlink(old, self.to_s) と同じです。


@see File.symlink...

Pathname#readlink -> Pathname (6125.0)

Pathname.new(File.readlink(self.to_s)) と同じです。

...Pathname.new(File.readlink(self.to_s)) と同じです。


@see File.readlink...

Pathname#split -> Array (6125.0)

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

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

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

pathname
= Pathname("/path/to/sample")
pathname
.split # => [#<Pathname:/path/to>, #<Pathname:sample>]
//}

@see File.split...
<< 1 2 3 > >>