62件ヒット
[1-62件を表示]
(0.185秒)
ライブラリ
- pathname (33)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - un (11)
クラス
- Pathname (33)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- Kernel (11)
検索結果
先頭5件
-
Shell
:: CommandProcessor # chmod(mode , *filename) -> Integer (24314.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod... -
Pathname
# chmod(mode) -> Integer (24224.0) -
File.chmod(mode, self.to_s) と同じです。
...File.chmod(mode, self.to_s) と同じです。
@param mode ファイルのアクセス権限を整数で指定します。
@see File.chmod... -
Shell
# chmod(mode , *filename) -> Integer (18314.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod... -
Shell
:: Filter # chmod(mode , *filename) -> Integer (18314.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@see File.chmod... -
Kernel
# install -> () (12207.0) -
ファイルをコピーし、その属性を設定します。
...性を設定します。
ruby -run -e install -- [OPTION] SOURCE DEST
-p ファイルのアクセス時刻と修正時刻を保持します。
-m chmod と同じようにファイルのパーミッションを設定します。
-v 詳細表示
@see install(1)... -
Pathname
# lchmod(mode) -> Integer (12201.0) -
File.lchmod(mode, self.to_s) と同じです。
...File.lchmod(mode, self.to_s) と同じです。
@param mode ファイルのアクセス権限を整数で指定します。
@see File.lchmod... -
Pathname
# ctime -> Time (6007.0) -
File.ctime(self.to_s) を渡したものと同じです。
....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...