2905件ヒット
[101-200件を表示]
(0.056秒)
ライブラリ
- ビルトイン (875)
-
cgi
/ core (12) -
cgi
/ html (24) - csv (108)
- erb (24)
- etc (12)
- fileutils (24)
-
irb
/ ext / save-history (12) -
irb
/ extend-command (12) -
irb
/ input-method (24) - json (12)
- logger (24)
- mkmf (24)
-
net
/ ftp (32) -
net
/ http (36) -
net
/ pop (12) -
net
/ smtp (36) - objspace (12)
- open-uri (28)
- openssl (60)
- pathname (48)
- psych (31)
- rake (156)
-
rake
/ gempackagetask (12) -
rake
/ packagetask (48) -
rdoc
/ code _ object (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ top _ level (24) - readline (24)
- resolv (12)
- ripper (12)
-
ripper
/ filter (12) -
ripper
/ lexer (24) -
rubygems
/ config _ file (36) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ installer (24) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ source _ info _ cache (132) -
rubygems
/ specification (84) - shell (48)
-
shell
/ command-processor (48) -
shell
/ filter (42) - shellwords (24)
- stringio (12)
- tempfile (12)
-
test
/ unit (1) - tmpdir (24)
- tracer (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (36) -
webrick
/ httputils (36) -
webrick
/ log (12) - win32ole (36)
- zlib (84)
クラス
-
ARGF
. class (48) - Binding (7)
- CSV (96)
- Dir (108)
- ERB (24)
- File (168)
-
File
:: Stat (24) -
Gem
:: ConfigFile (36) -
Gem
:: GemPathSearcher (12) -
Gem
:: Installer (24) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (132) -
Gem
:: Specification (84) - IO (340)
-
IRB
:: Context (12) -
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (12) - LoadError (12)
- Logger (12)
-
Logger
:: LogDevice (12) -
Net
:: FTP (12) -
Net
:: FTP :: MLSxEntry (20) -
Net
:: HTTP (12) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (12) -
Net
:: SMTP (36) -
OpenSSL
:: Config (12) -
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: SSL :: SSLContext (12) - Pathname (48)
-
Psych
:: SyntaxError (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Options (12) -
RDoc
:: TopLevel (24) -
Rake
:: Application (12) -
Rake
:: FileList (120) -
Rake
:: FileTask (12) -
Rake
:: GemPackageTask (12) -
Rake
:: PackageTask (48) -
Resolv
:: Hosts (12) - Ripper (36)
-
Ripper
:: Filter (12) -
RubyVM
:: InstructionSequence (48) - Shell (48)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (42) - String (24)
- StringIO (12)
- Tempfile (12)
- Tracer (12)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPUtils :: FormData (24) -
WIN32OLE
_ METHOD (24) -
WIN32OLE
_ TYPE (12) -
Zlib
:: GzipFile (36) -
Zlib
:: GzipFile :: Error (24) -
Zlib
:: GzipReader (12) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (12) - Etc (12)
-
File
:: Constants (12) - FileUtils (24)
-
GC
:: Profiler (12) -
IRB
:: ExtendCommandBundle (12) - JSON (12)
- Kernel (116)
- Marshal (24)
- ObjectSpace (12)
-
OpenSSL
:: X509 (24) - OpenURI (12)
- Psych (19)
- Readline (24)
- Shellwords (24)
-
Test
:: Unit (1) - URI (8)
-
WEBrick
:: HTTPUtils (12)
キーワード
-
$ FILENAME (12) - * (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - CSV (12)
-
DEFAULT
_ CERT _ FILE (12) -
DEFAULT
_ CERT _ FILE _ ENV (12) -
DEFAULT
_ CONFIG _ FILE (12) - DefaultFileName (12)
- Marshal フォーマット (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - NULL (12)
- Ruby用語集 (12)
-
SC
_ MAPPED _ FILES (12) -
SEARCH
_ INDEX _ FILE (12) -
SYSTEM
_ WIDE _ CONFIG _ FILE (12) - [] (12)
-
_ _ dir _ _ (12) -
absolute
_ path (24) -
allocation
_ sourcefile (12) -
base
_ label (12) - basename (30)
- bigdecimal (12)
-
ca
_ file (24) -
cache
_ file (12) - caller (36)
- certs (12)
- comment (12)
- comment= (12)
-
config
_ file _ name (12) -
content
_ length (12) -
content
_ length= (12) - count (12)
-
cpp
_ command (12) -
create
_ body (12) -
def
_ extend _ command (12) - dev (12)
- dirname (30)
- download (12)
-
dummy
_ makefile (12) - dump (36)
- echo (18)
- entries (12)
- ext (12)
- extname (24)
-
extra
_ rdoc _ files (12) - facts (10)
-
file
_ absolute _ name (12) -
file
_ field (24) -
file
_ name (24) -
file
_ relative _ name (12) - filename (84)
- filename= (24)
-
filename
_ quote _ characters (12) -
filename
_ quote _ characters= (12) - fileno (12)
- files (24)
- filter (36)
-
for
_ fd (12) -
formatted
_ program _ filename (12) - formatter (12)
- ftype (54)
-
gem
_ file (12) -
get
_ file _ uri _ path (12) -
get
_ line (12) - getc (24)
- gets (60)
- getwd (12)
- glob (24)
- gsub (12)
- gsub! (12)
- helpfile (24)
- helpstring (12)
-
history
_ file (12) - home (24)
- input (12)
- inspect (12)
- irb (12)
-
is
_ a? (12) - join (30)
-
kind
_ of? (12) - label (12)
-
latest
_ cache _ file (12) -
latest
_ system _ cache _ file (24) -
latest
_ user _ cache _ file (24) - lex (12)
-
lib
_ files (12) - logger (12)
-
matching
_ files (12) - mdtm (12)
-
mime
_ type (12) - mktmpdir (24)
-
net
/ smtp (12) - new (36)
- open (88)
-
open
_ uri (12) -
open
_ uri _ or _ path (12) -
orig
_ name (12) -
parent
_ file _ name (12) - path (96)
- pathmap (24)
- pread (8)
- pwd (12)
- pwrite (8)
- query (12)
- rakefile (12)
- rdoc (12)
- read (60)
-
read
_ body (24) - readchar (24)
- readline (60)
- readlines (72)
- readlink (30)
- realdirpath (12)
- realpath (12)
- result (12)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / search _ command (12) -
safe
_ load (19) -
scope
_ name (12) -
send
_ mail (12) - sendmail (12)
-
set
_ encoding (36) -
setup
_ argv (1) - shebang (12)
- shellescape (12)
- shelljoin (12)
-
source
_ location (7) - split (30)
- sub (12)
- sub! (12)
- sysread (12)
-
system
_ cache _ file (24) - syswrite (12)
-
tar
_ bz2 _ file (12) -
tar
_ gz _ file (12) -
test
_ file (12) -
test
_ files (12) -
test
_ suite _ file (12) -
tgz
_ file (12) -
to
_ path (24) -
to
_ s (24) - tokenize (12)
-
try
_ file (12) - type (10)
-
user
_ cache _ file (24) -
write
_ smime (12) -
zip
_ file (12) - クラス/メソッドの定義 (12)
検索結果
先頭5件
-
File
. path(filename) -> String (9225.0) -
指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
...指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
@param filename ファイル名を表す文字列か to_path メソッドが定義されたオブジェクトを指定します。
//emlist[例][ruby]{
requ......ire 'pathname'
class MyPath
def initialize(path)
@path = path
end
def to_path
File.absolute_path(@path)
end
end
File.path("/dev/null") # => "/dev/null"
File.path(Pathname("/tmp")) # => "/tmp"
File.path(MyPath.new(".")) # => "/Users/user/projects/txt"
//}... -
Gem
:: ConfigFile # config _ file _ name -> String (9202.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
Gem
:: ConfigFile :: SYSTEM _ WIDE _ CONFIG _ FILE -> String (9202.0) -
システム全体の設定ファイルのパスです。
システム全体の設定ファイルのパスです。 -
File
. join(*item) -> String (9177.0) -
File::SEPARATORを間に入れて文字列を連結します。platform/DOSISH-supportで環境依存になる予定です。
...
File::SEPARATORを間に入れて文字列を連結します。platform/DOSISH-supportで環境依存になる予定です。
@param item 連結したいディレクトリ名やファイル名を文字列(もしくは文字列を要素に持つ配列)で与えます。
文字列A......とBを連結する際に、Aの末尾の文字とBの先頭の文字がFile::SEPARATORであった場合には、
まずこれらを削除した上で改めてFile::SEPARATORを間に入れて連結します。
引数の中に配列がある場合は配列要素を再帰的......t[例][ruby]{
File.join("a","b") # => "a/b"
File.join("a/","b") # => "a/b"
File.join("a/","/b") # => "a/b"
File.join("a","/b") # => "a/b"
File.join("a", ["b", ["c", ["d"]]]) # => "a/b/c/d"
File.join("", "a"... -
File
# path -> String (9144.0) -
オープン時に使用したパスを文字列で返します。
...Error TMPFILE File::Constants::TMPFILEオプション付きで作成されている場合に発生します。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/......tmp", File::RDWR | File::TMPFILE){|f| f.path } # IOError: File is unnamed (TMPFILE?)
//}... -
File
# to _ path -> String (9144.0) -
オープン時に使用したパスを文字列で返します。
...Error TMPFILE File::Constants::TMPFILEオプション付きで作成されている場合に発生します。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/......tmp", File::RDWR | File::TMPFILE){|f| f.path } # IOError: File is unnamed (TMPFILE?)
//}... -
File
# path -> String (9138.0) -
オープン時に使用したパスを文字列で返します。
...、
File::Constants::TMPFILEオプション付きで作成されていたりする場合です。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/tmp", File::R......DWR | File::TMPFILE){|f| f.path } #=> "/tmp"
//}... -
File
# to _ path -> String (9138.0) -
オープン時に使用したパスを文字列で返します。
...、
File::Constants::TMPFILEオプション付きで作成されていたりする場合です。
//emlist[例][ruby]{
File.open("testfile") {|f| f.path } #=> "testfile"
File.open("/tmp/../tmp/xxx", "w") {|f| f.path } #=> "/tmp/../tmp/xxx"
File.open("/tmp", File::R......DWR | File::TMPFILE){|f| f.path } #=> "/tmp"
//}... -
File
. expand _ path(path , default _ dir = & # 39; . & # 39;) -> String (9125.0) -
path を絶対パスに展開した文字列を返します。 path が相対パスであれば default_dir を基準にします。
...> "/home/matz/work/foo"
p ENV["HOME"] #=> "/home/matz"
p File.expand_path("..") #=> "/home/matz/work"
p File.expand_path("..", "/tmp") #=> "/"
p File.expand_path("~") #=> "/home/matz"
p File.expand_path("~foo") #=> "/home/foo"
//}
@param path パスを表... -
File
. realpath(pathname , basedir = nil) -> String (9125.0) -
与えられた pathname に対応する絶対パスを返します。
...合に発生します。
//emlist[例][ruby]{
ENV["HOME"] # => "/home/matz"
File.symlink("testfile", "testlink")
File.realpath("testfile") # => "/home/matz/testfile"
File.realpath("testlink") # => "/home/matz/testfile"
File.realpath("..", "/tmp") # => "/"
//}... -
File
. readlink(path) -> String (9113.0) -
シンボリックリンクのリンク先のパスを文字列で返します。
...XX 指定された path がシンボリックリンクでない場合や、リンクの読み取りに失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink") # => 0
File.readlink("testlink") # => "testfile"
//}...
