214件ヒット
[201-214件を表示]
(0.045秒)
種類
- インスタンスメソッド (154)
- 文書 (49)
- 特異メソッド (11)
クラス
-
ARGF
. class (11) -
CSV
:: Table (22) - File (11)
- IO (22)
- Pathname (55)
-
REXML
:: Entity (11) - StringIO (11)
-
Zlib
:: GzipWriter (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - binwrite (11)
- ctime (11)
-
each
_ line (22) - lchmod (11)
-
ruby 1
. 6 feature (11) - syswrite (11)
-
to
_ csv (11)
検索結果
-
Pathname
# ctime -> Time (28.0) -
File.ctime(self.to_s) を渡したものと同じです。
...File.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.ct... -
File
. lchmod(mode , *filename) -> Integer (24.0) -
File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの モードを変更します。
...生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.lstat("testlink").ftype # => "link"
File.lchmod(0744, "testlink")
File.stat("testlink").mode.to_s(8) # => "100644"
File.lstat("testlink").mode.to_s(8) # => "120744"
//}...