431件ヒット
[1-100件を表示]
(0.096秒)
ライブラリ
- ビルトイン (24)
- pathname (347)
- rake (12)
-
webrick
/ httpresponse (24) - zlib (24)
クラス
- IO (24)
- Pathname (347)
-
Rake
:: FileList (12) -
WEBrick
:: HTTPResponse (24) -
Zlib
:: GzipWriter (24)
キーワード
- << (12)
- atime (12)
- basename (12)
- birthtime (11)
- chmod (12)
- chown (12)
-
content
_ length (12) -
content
_ length= (12) - ctime (12)
- dirname (12)
- extname (12)
- file? (12)
- fnmatch (12)
- fnmatch? (12)
- ftype (12)
- lchmod (12)
- lchown (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) - mtime (12)
- open (24)
- readlink (12)
- rename (12)
- split (12)
- stat (12)
- syswrite (12)
-
to
_ path (12) - truncate (12)
- utime (12)
- write (24)
検索結果
先頭5件
-
Rake
:: FileList # to _ s -> String (21120.0) -
全ての要素をスペースで連結した文字列を返します。
...全ての要素をスペースで連結した文字列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}... -
Pathname
# to _ s -> String (18108.0) -
パス名を文字列で返します。
...パス名を文字列で返します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/hogehoge")
File.open(path)
//}... -
Pathname
# file? -> bool (6140.0) -
FileTest.file?(self.to_s) と同じです。
...FileTest.file?(self.to_s) と同じです。
@see FileTest.#file?... -
Pathname
# open(mode = & # 39;r& # 39; , perm = 0666) -> File (141.0) -
File.open(self.to_s, *args, &block) と同じです。
...File.open(self.to_s, *args, &block) と同じです。
@see File.open... -
Pathname
# open(mode = & # 39;r& # 39; , perm = 0666) {|file| . . . } -> object (141.0) -
File.open(self.to_s, *args, &block) と同じです。
...File.open(self.to_s, *args, &block) と同じです。
@see File.open... -
Pathname
# lstat -> File :: Stat (140.0) -
File.lstat(self.to_s) と同じです。
...File.lstat(self.to_s) と同じです。
@see File.lstat... -
Pathname
# stat -> File :: Stat (140.0) -
File.stat(self.to_s) と同じです。
...File.stat(self.to_s) と同じです。
@see File.stat... -
Pathname
# fnmatch(pattern , *args) -> bool (51.0) -
File.fnmatch(pattern, self.to_s, *args) と同じです。
...File.fnmatch(pattern, self.to_s, *args) と同じです。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*', `?', `[]' が使用できま
す。Dir.glob とは違って `{}' や `**/' は使用できません。
@param args File.fnmatch......を参照してください。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
path.fnmatch("test*") # => true
path.fnmatch("TEST*") # => false
path.fnmatch("TEST*", File::FNM_CASEFOLD) # => true
//}
@see File.fnmatch... -
Pathname
# chown(owner , group) -> Integer (45.0) -
File.chown(owner, group, self.to_s) と同じです。
...File.chown(owner, group, self.to_s) と同じです。
@param owner オーナーを指定します。
@param group グループを指定します。
//emlist[例][ruby]{
require 'pathname'
Pathname('testfile').stat.uid # => 501
Pathname('testfile').chown(502, 12)
Pathname('testfile').stat.ui......d # => 502
//}
@see File.chown, File#chown...