4809件ヒット
[1-100件を表示]
(0.159秒)
ライブラリ
- ビルトイン (1310)
-
cgi
/ html (24) - csv (60)
- digest (12)
- erb (12)
- fiddle (12)
-
irb
/ cmd / load (36) -
irb
/ ext / save-history (24) - mkmf (84)
-
net
/ ftp (260) -
net
/ http (132) -
net
/ smtp (36) - openssl (60)
- optparse (12)
- pathname (371)
- rake (252)
-
rake
/ loaders / makefile (12) -
rake
/ packagetask (12) -
rake
/ rdoctask (12) -
rake
/ testtask (12) -
rdoc
/ code _ object (12) -
rdoc
/ parser (12) -
rdoc
/ stats (12) -
rdoc
/ top _ level (36) -
rubygems
/ commands / build _ command (24) -
rubygems
/ config _ file (120) -
rubygems
/ format (12) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ indexer (12) -
rubygems
/ installer (72) -
rubygems
/ old _ format (12) -
rubygems
/ package / tar _ writer (48) -
rubygems
/ remote _ fetcher (48) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (36) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (48) -
rubygems
/ validator (12) - shell (330)
-
shell
/ builtin-command (12) -
shell
/ command-processor (330) -
shell
/ filter (336) - socket (24)
- tempfile (12)
- tracer (36)
- un (36)
-
webrick
/ httpresponse (36) -
webrick
/ httpservlet / filehandler (96) -
webrick
/ httputils (24) - win32ole (36)
- zlib (192)
クラス
-
ARGF
. class (108) - BasicObject (24)
- Binding (12)
- CSV (60)
- Class (4)
-
Digest
:: Base (12) - Dir (23)
- ERB (12)
-
Fiddle
:: Function (12) - File (135)
-
File
:: Stat (84) -
Gem
:: Commands :: BuildCommand (24) -
Gem
:: ConfigFile (120) -
Gem
:: Format (12) -
Gem
:: GemPathSearcher (24) -
Gem
:: Indexer (12) -
Gem
:: Installer (72) -
Gem
:: OldFormat (12) -
Gem
:: Package :: TarWriter (48) -
Gem
:: RemoteFetcher (48) -
Gem
:: SourceInfoCache (36) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (48) -
Gem
:: Validator (12) - IO (796)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) - Method (26)
-
Net
:: FTP (260) -
Net
:: HTTP (84) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: SMTP (36) - Object (12)
-
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Store (12) - OptionParser (12)
- Pathname (371)
- Proc (14)
-
RDoc
:: CodeObject (12) -
RDoc
:: Parser (12) -
RDoc
:: Stats (12) -
RDoc
:: TopLevel (36) -
Rake
:: DefaultLoader (12) -
Rake
:: FileCreationTask (24) -
Rake
:: FileList (96) -
Rake
:: MakefileLoader (12) -
Rake
:: PackageTask (12) -
Rake
:: RDocTask (12) -
Rake
:: TestTask (12) -
RubyVM
:: InstructionSequence (48) - Shell (330)
-
Shell
:: AppendFile (6) -
Shell
:: CommandProcessor (330) -
Shell
:: Filter (336) -
Shell
:: Glob (6) -
Socket
:: AncillaryData (12) - String (12)
- Tempfile (12)
- Tracer (36)
- UNIXSocket (12)
-
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (48) -
WEBrick
:: HTTPServlet :: FileHandler (48) -
WEBrick
:: HTTPUtils :: FormData (24) -
WIN32OLE
_ METHOD (24) -
WIN32OLE
_ TYPE (12) -
Zlib
:: GzipFile (48) -
Zlib
:: GzipReader (24) -
Zlib
:: GzipWriter (120)
モジュール
-
CGI
:: HtmlExtension (24) - Enumerable (12)
- FileUtils (48)
-
Gem
:: RequirePathsBuilder (12) - Kernel (144)
-
Rake
:: TaskManager (12) - RakeFileUtils (36)
キーワード
- * (12)
- << (38)
- <=> (12)
- == (12)
- > (6)
- >> (20)
- [] (30)
- []= (12)
-
absolute
_ path (12) -
add
_ file (36) -
add
_ file _ simple (24) -
add
_ row (12) - advise (12)
- append (18)
- atime (54)
- backtrace= (12)
-
base
_ label (12) - basename (30)
- benchmark= (12)
- birthtime (34)
- blockdev? (18)
-
body
_ stream (12) -
body
_ stream= (12) -
bulk
_ threshold= (12) -
ca
_ file (24) -
ca
_ file= (24) - call (12)
- cat (18)
-
cert
_ store= (24) - chardev? (18)
- chmod (54)
- chown (42)
- chunk (12)
- cleanpath (12)
- clone (12)
- close (24)
-
close
_ on _ exec= (12) - closed? (24)
- comment= (12)
- compress (12)
- config= (12)
-
content
_ length (12) -
content
_ length= (12) - count (12)
-
cpp
_ command (12) -
create
_ makefile (12) - ctime (54)
-
def
_ class (12) - delete (30)
- directory? (30)
- dirname (30)
-
do
_ GET (24) -
do
_ OPTIONS (12) -
do
_ POST (12) - download (12)
-
dummy
_ makefile (12) - dup (12)
- each (78)
-
each
_ byte (24) -
each
_ char (24) -
each
_ line (72) - echo (18)
- egrep (12)
- eof (12)
- eof? (12)
- eval (12)
-
excluded
_ from _ list? (12) - executable? (18)
-
executable
_ real? (18) - execute (36)
- exist? (18)
- exists? (18)
- ext (12)
- extname (12)
-
extra
_ rdoc _ files= (12) -
extract
_ files (12) - fcntl (12)
- fdatasync (12)
- file? (30)
-
file
_ absolute _ name= (12) -
file
_ entries= (24) -
file
_ field (24) -
file
_ relative _ name= (12) -
file
_ stat= (12) -
file
_ uri? (12) - filename (12)
- filename= (24)
- fileno (35)
- files= (12)
- flock (12)
- flush (24)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
-
formatted
_ program _ filename (12) - ftype (30)
-
generate
_ bin _ script (12) -
generate
_ bin _ symlink (12) -
generate
_ windows _ script (12) - get (48)
-
get
_ file _ uri _ path (12) -
get
_ line (12) - getbinaryfile (24)
- getbyte (12)
- getc (24)
- gets (36)
- gettextfile (24)
- glob (18)
- grpowned? (18)
-
handle
_ arguments (12) - helpfile (24)
- helpstring (12)
-
history
_ file (12) -
history
_ file= (12) - import (24)
- include (12)
-
inplace
_ mode= (12) - input= (6)
-
install
_ files (12) -
install
_ rb (12) -
instance
_ eval (24) - isatty (12)
- join (18)
- label (12)
-
latest
_ cache _ file (12) - lchmod (12)
- lchown (12)
- lineno (24)
- lineno= (12)
- link (18)
- load (36)
-
load
_ file (12) -
load
_ gemspecs (12) -
load
_ specs (12) - lstat (42)
-
make
_ link (12) -
make
_ partial _ content (12) -
make
_ symlink (12) -
matching
_ file? (12) -
matching
_ files (12) - mdtm (12)
- mlsd (20)
- mtime (66)
- mtime= (12)
- needed? (12)
-
not
_ modified? (12) - nowrite (12)
-
num
_ files= (12) - open (42)
-
open
_ uri _ or _ path (12) -
orig
_ name= (12) - out (18)
- owned? (18)
-
package
_ files= (12) - parameters (12)
-
parent
_ file _ name (12) -
parse
_ files _ matching (12) - path (20)
- pathmap (12)
- pipe? (18)
- pos (12)
- pos= (12)
- post (24)
- pread (8)
-
prepare
_ range (12) - print (12)
- printf (12)
- put (24)
- putbinaryfile (24)
- putc (12)
- puts (24)
- puttextfile (24)
- pwrite (8)
-
rdoc
_ files= (12) - read (24)
-
read
_ body (24) -
read
_ cache _ data (12) - readable? (18)
-
readable
_ real? (18) - readbyte (24)
- readchar (36)
- readline (48)
- readlines (36)
- readlink (30)
- realpath (24)
-
recv
_ io (12) - rename (30)
- reopen (36)
-
respond
_ to? (12) - rewind (12)
- rm (30)
-
rm
_ f (12) -
rm
_ rf (12) - ruby (12)
-
safe
_ ln (12) - seek (12)
-
send
_ mail (12) - sendmail (12)
- service (12)
-
set
_ encoding (36) -
set
_ get _ line _ procs (12) - setgid? (18)
- setuid? (18)
- sh (12)
- shebang (12)
- size (42)
- size? (18)
- socket? (18)
- split (30)
-
split
_ all (12) - stat (54)
- sticky? (18)
- storbinary (24)
- storlines (24)
- superclass (4)
- symlink (18)
- symlink? (30)
- sync (24)
- sync= (12)
-
synthesize
_ file _ task (12) - sysread (12)
- sysseek (12)
- syswrite (12)
- tee (18)
- tell (12)
- test (18)
-
test
_ files= (24) -
test
_ suite _ file= (12) -
to
_ i (24) -
to
_ io (24) -
to
_ path (20) - touch (12)
-
trace
_ func (12) - truncate (54)
-
try
_ file (12) - tty? (12)
- ungetbyte (12)
- ungetc (12)
-
unix
_ rights (12) - unlink (18)
-
update
_ sources= (12) - utime (30)
- verbose (24)
- verbose= (12)
-
verify
_ gem _ file (12) -
when
_ writing (12) - writable? (18)
-
writable
_ real? (18) - write (24)
-
write
_ require _ paths _ file _ if _ needed (12) - yaml? (12)
- zero? (18)
検索結果
先頭5件
-
Kernel
# file(*args) { . . . } -> Rake :: FileTask (18220.0) -
ファイルタスクを定義します。
...定義します。
@param args ファイル名と依存ファイル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line......end
end
end
end
@see Rake::Task.define_task... -
Digest
:: Base # file(path) -> self (18148.0) -
ファイル名 file で指定したファイルの内容を読み込んでダイジェストを更新し、 オブジェクト自身を返します。
...ファイル名 file で指定したファイルの内容を読み込んでダイジェストを更新し、
オブジェクト自身を返します。
@param path 読み込み対象のファイル名です。
@return ダイジェストオブジェクトを返します。
例(MD5の場合)
req......uire 'digest/md5'
digest = Digest::MD5.new
digest.file("/path/to/file") # => Digest::MD5のインスタンス
digest.hexdigest # => "/path/to/file"のMD5値... -
Gem
:: ConfigFile # load _ file(file _ name) -> object (9215.0) -
与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
...与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
@param file_name YAML 形式で記述された設定ファイル名を指定します。... -
File
# lstat -> File :: Stat (9166.0) -
ファイルの状態を含む File::Stat オブジェクトを生成して返します。 シンボリックリンクに関してリンクそのものの情報を返します。 lstat(2) を実装していないシステムでは、IO#statと同じです。
...む File::Stat オブジェクトを生成して返します。
シンボリックリンクに関してリンクそのものの情報を返します。
lstat(2) を実装していないシステムでは、IO#statと同じです。
@raise Errno::EXXX 失敗した場合に発生します。
@raise......ose されている場合に発生します。
//emlist[例][ruby]{
# testlink は testfile のシンボリックリンク
File.open("testlink") do |f|
p f.lstat == File.stat("testfile") # => false
p f.stat == File.stat("testfile") # => true
end
//}
@see IO#stat, File.stat, File.lstat... -
File
# flock(operation) -> 0 | false (9139.0) -
ファイルをロックします。
...ロックの取得に成功した場合は 0 を返します。
File::LOCK_NB (ノンブロッキング) を指定すると、本来ならブロックされる場合に
ブロックされずに false を返すようになります。
@param operation ロックに対する操作の種類を示す......
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX operation に不正な整数を与えた場合などに発生します。
引数 operation に有効な定数は以下の通りです。定数は File::Constants で定義されていますが、
File......クラスの親クラスの IO が File::Constants をインクルードしているので、
これらの定数は File::LOCK_SH などとして参照可能です。
: LOCK_SH
共有ロック。複数のプロセスが同時にロックを共有できます。
システムによってはロッ... -
File
# birthtime -> Time (9055.0) -
作成された時刻を Time オブジェクトとして返します。
...す。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
File.new("testfile").birt......htime #=> Wed Apr 09 08:53:14 CDT 2003
@see File#lstat, File#atime, File#ctime, File#mtime... -
File
# chown(owner , group) -> 0 (9055.0) -
ファイルのオーナーとグループを変更します。
...失敗した場合は
例外 Errno::EXXX が発生します。
@param owner chown(2) と同様に数値で指定します。nil または -1 を指定することで、オーナーを現在のままにすることができます。
@param group chown(2) と同様に数値で指定します。nil......す。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX 変更に失敗した場合に発生します。
//emlist[例][ruby]{
File.open("testfile") { |f| f.chown(502, 1000) } # => 0
File.stat("testfile").uid # => 502
File.stat("......testfile").gid # => 1000
//}
@see File.chown... -
File
# atime -> Time (9049.0) -
最終アクセス時刻を Time オブジェクトとして返します。
...
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.atime } # => 2017-12-21 22:58:17 +0900
//}
@see......File#lstat, File#ctime, File#mtime, File#birthtime... -
File
# ctime -> Time (9049.0) -
状態が最後に変更された時刻を Time オブジェクトとして返します。状態の変更とは chmod などによるものです。
...
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.ctime } # => 2017-12-21 22:58:17 +0900
//}
@see......File#lstat, File#atime, File#mtime, File#birthtime...