るりまサーチ

最速Rubyリファレンスマニュアル検索!
1070件ヒット [101-200件を表示] (0.141秒)
トップページ > クエリ:t[x] > クエリ:@[x] > 種類:インスタンスメソッド[x] > クラス:Pathname[x]

別のキーワード

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

ライブラリ

キーワード

検索結果

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

Pathname#to_path -> String (9108.0)

File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ クトにおいては、 to_s と同じです。

...File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ
クトにおいては、 to_s と同じです。


@
see Pathname#to_s...

Pathname#utime(atime, mtime) -> Integer (6320.0)

File.utime(atime, mtime, self.to_s) と同じです。

...File.utime(atime, mtime, self.to_s) と同じです。

@
param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@
param mtime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。


@
see File.utime...

Pathname#atime -> Time (6208.0)

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

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

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

pathname
= Pathname("testfile")
pathname
.atime # => 2018-12-18 20:58:13 +0900
//}

@
see File.atime...

Pathname#binwrite(string, offset=nil) -> Integer (6208.0)

IO.binwrite(self.to_s, *args)と同じです。

...IO.binwrite(self.to_s, *args)と同じです。


@
see IO.binwrite...

Pathname#ctime -> Time (6208.0)

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

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

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

IO.write("testfile", "test")
pathname
= Pathname("testfile")
pathname
.ctime # => 2019-01-14 00:39:51 +0900
sleep 1
pathname
.chmod(0755)
pathname
.ctime # => 2019-01-14 00:39:52 +0900
//}

@
see File.ctime...

絞り込み条件を変える

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

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

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


@
see File.lstat...

Pathname#mtime -> Time (6208.0)

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

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


@
see File.mtime...

Pathname#stat -> File::Stat (6208.0)

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

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


@
see File.stat...

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

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

@
see IO.write...
<< < 1 2 3 4 ... > >>