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