3687件ヒット
[201-300件を表示]
(0.225秒)
別のキーワード
ライブラリ
- ビルトイン (273)
-
cgi
/ core (24) - csv (24)
- digest (12)
- etc (12)
-
irb
/ cmd / load (12) -
irb
/ context (24) -
json
/ add / exception (12) - mkmf (84)
-
net
/ ftp (40) -
net
/ http (528) -
net
/ pop (12) - openssl (72)
- optparse (24)
- pathname (1250)
- pstore (12)
- rake (96)
-
rake
/ packagetask (12) -
rexml
/ document (132) - rss (24)
- rubygems (24)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ config _ file (24) -
rubygems
/ custom _ require (12) -
rubygems
/ format (24) -
rubygems
/ gem _ path _ searcher (72) -
rubygems
/ indexer (12) -
rubygems
/ old _ format (24) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (108) -
rubygems
/ uninstaller (12) -
rubygems
/ validator (24) - shell (90)
-
shell
/ command-processor (54) -
shell
/ filter (48) - socket (48)
- tempfile (60)
- uri (48)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (36) -
webrick
/ httpserver (12) - win32ole (12)
- zlib (12)
クラス
-
ARGF
. class (12) - Addrinfo (36)
-
CGI
:: Cookie (24) - CSV (24)
-
Digest
:: Base (12) - Dir (24)
-
Encoding
:: Converter (12) - Exception (24)
- File (24)
-
File
:: Stat (24) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: ConfigFile (24) -
Gem
:: Format (24) -
Gem
:: GemPathSearcher (72) -
Gem
:: Indexer (12) -
Gem
:: OldFormat (24) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (108) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (24) - IO (54)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Load (12) - LoadError (12)
-
Net
:: FTP (30) -
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (468) -
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (12) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: X509 :: Store (24) - OptionParser (24)
- PStore (12)
- Pathname (1238)
- Proc (12)
-
RDoc
:: Options (60) -
REXML
:: Attribute (12) -
REXML
:: Element (60) -
REXML
:: Elements (60) -
RSS
:: Rss :: Channel :: Cloud (24) -
Rake
:: Application (12) -
Rake
:: FileList (12) -
Rake
:: PackageTask (12) -
RubyVM
:: InstructionSequence (36) - Shell (90)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (48) - String (48)
- SyntaxError (3)
- Tempfile (60)
-
Thread
:: Backtrace :: Location (36) - TracePoint (24)
- UNIXSocket (12)
-
URI
:: Generic (36) -
URI
:: HTTP (12) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPServer :: MountTable (12) -
WIN32OLE
_ TYPELIB (12) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: QueryExtension (24) - FileUtils (12)
-
Gem
:: QuickLoader (24) -
Gem
:: RequirePathsBuilder (12) - Kernel (108)
-
Rake
:: TaskManager (12)
キーワード
- + (12)
-
/ (11) - <=> (24)
- == (12)
- === (12)
- Pathname (12)
- absolute? (12)
-
absolute
_ path (24) -
add
_ path (12) - ascend (24)
- atime (12)
- basename (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
-
body
_ stream (12) -
body
_ stream= (12) -
ca
_ file= (12) -
ca
_ path (24) -
ca
_ path= (24) - cd (6)
-
cert
_ store= (24) - chardev? (12)
- chdir (6)
- children (12)
- chmod (12)
- chown (12)
- cleanpath (12)
- close (12)
- close! (12)
- collect (12)
- convpath (12)
- copy (12)
-
create
_ makefile (12) -
create
_ rule (12) - ctime (12)
- delete (36)
-
delete
_ all (12) - descend (24)
- directory? (12)
- dirname (12)
- each (12)
-
each
_ child (24) -
each
_ element (12) -
each
_ entry (15) -
each
_ filename (12) -
each
_ line (24) - empty? (9)
-
enable
_ ssl (12) - entries (12)
- eql? (12)
- executable? (12)
-
executable
_ real? (12) - execute (12)
- exist? (12)
- extensions= (12)
- extname (12)
-
extra
_ rdoc _ files= (12) -
family
_ addrinfo (24) -
fetch
_ path (12) - file (12)
- file? (12)
- find (36)
-
find
_ all (12) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ paths (12) - flush (36)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
- ftype (12)
-
full
_ gem _ path (12) -
gem
_ path (24) -
gem
_ path= (24) -
gem
_ paths (12) - get (24)
- get2 (24)
-
get
_ elements (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) -
get
_ text (12) - glob (16)
- grpowned? (12)
- hash (12)
- head (12)
- head2 (24)
-
init
_ gemspecs (12) - inject (12)
- inspect (36)
-
installation
_ path (12) -
irb
_ path (12) -
irb
_ path= (12) - join (12)
- lchmod (12)
- lchown (12)
-
lib
_ dirs _ for (12) - libpathflag (12)
-
link
_ command (12) -
loaded
_ from= (12) - lock (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) -
matching
_ file? (12) -
matching
_ files (12) - mkcol (12)
- mkdir (30)
- mkpath (12)
- mlsd (20)
- mlst (10)
- mountpoint? (12)
- move (12)
- mtime (12)
- open (42)
-
open
_ uri _ or _ path (12) - opendir (24)
-
original
_ dir (12) - owned? (12)
-
package
_ dir _ path (12) -
page
_ dir (12) - paranoid (12)
- parent (12)
- patch (24)
- path= (60)
-
path
_ info (24) -
path
_ info= (12) -
path
_ ok? (12) -
path
_ translated (12) - pathconf (12)
- pathmap (24)
-
pathmap
_ explode (12) -
pathmap
_ partial (12) -
pathmap
_ replace (12) - pathname (10)
- pipe? (12)
- post (24)
- post2 (24)
-
program
_ name (12) -
program
_ name= (12) - propfind (12)
- proppatch (12)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) - pushd (6)
- pushdir (6)
- put (12)
- put2 (24)
- read (12)
-
read
_ body (24) - readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (30)
- realdirpath (12)
- realpath (24)
- relative? (12)
-
relative
_ path _ from (12) -
remove
_ leading _ dot _ dir (12) - rename (12)
- reopen (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
request
_ uri (12) - require (12)
-
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) - rmdir (30)
- rmtree (12)
- root (12)
- root? (12)
-
sanitize
_ path (12) - scan (12)
- select (12)
-
send
_ request (12) -
set
_ backtrace (12) -
set
_ default _ paths (12) -
set
_ params (12) - setgid? (12)
- setuid? (12)
- size (12)
- size? (24)
- socket? (12)
-
source
_ location (12) -
spec
_ path (12) - split (30)
-
split
_ all (12) - stat (12)
-
static
_ path (12) -
static
_ path= (12) - sticky? (12)
- sub (24)
-
sub
_ ext (12) - symlink? (12)
- sysopen (12)
-
system
_ path (6) -
system
_ path= (6) - text (12)
-
to
_ a (12) -
to
_ json (12) -
to
_ path (39) -
to
_ s (12) - trace (12)
- truncate (42)
-
try
_ file (12) -
unix
_ path (12) - unlink (42)
- unlock (12)
- utime (12)
-
verify
_ gem _ file (12) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
-
write
_ require _ paths _ file _ if _ needed (12) - xpath (24)
- zero? (12)
検索結果
先頭5件
-
CGI
:: Cookie # path -> String (24202.0) -
クッキーを適用するパスを返します。
クッキーを適用するパスを返します。 -
Gem
:: ConfigFile # path -> String (24202.0) -
Gem を探索するパスを返します。
Gem を探索するパスを返します。 -
PStore
# path -> String (24202.0) -
データベースのファイル名を得ます。
データベースのファイル名を得ます。 -
SyntaxError
# path -> String (24202.0) -
文法エラーがあったファイルのパスを返します。
文法エラーがあったファイルのパスを返します。 -
WEBrick
:: HTTPRequest # path -> String (24202.0) -
リクエスト URI のパスを表す文字列を返します。
リクエスト URI のパスを表す文字列を返します。 -
Rake
:: PackageTask # package _ dir _ path -> String (21308.0) -
パッケージに含むファイルを配置するディレクトリを返します。
...パッケージに含むファイルを配置するディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}... -
Shell
# expand _ path(path) -> String (18515.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Pathname
# cleanpath(consider _ symlink = false) -> Pathname (18437.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
...余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
cleanpath は、実際にファイルシステムを参照することなく、文字列操作
だけで処理を行います。
@param consider_symlink 真ならパス要素にシンボリック......quire "pathname"
path = Pathname.new("//.././../")
path # => #<Pathname://.././../>
path.cleanpath # => #<Pathname:/>
require 'pathname'
Dir.rmdir("/tmp/foo") rescue nil
File.unlink("/tmp/bar/foo") rescue nil
Dir.rmdir("/tmp/bar") rescue nil
Dir.mkdir("/tmp/foo")......Dir.mkdir("/tmp/bar")
File.symlink("../foo", "/tmp/bar/foo")
path = Pathname.new("bar/././//foo/../bar")
Dir.chdir("/tmp")
path.cleanpath # => #<Pathname:bar/bar>
path.cleanpath(true) # => #<Pathname:bar/foo/../bar>
//}... -
Pathname
# realdirpath(basedir = nil) -> Pathname (18431.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に
存在しなくてもエラーになりません。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathna......me"
path = Pathname("/not_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最後ではないコンポーネント(/not_exist_1)も存在しないのでエラーになる。
path = Pathname("/not_exist_1/not_exist_2")
path.realdirpath # => Errno::ENOENT......//}
@see Pathname#realpath... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (18420.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......も相対パス、self が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory......から self への相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}...