2233件ヒット
[1-100件を表示]
(0.040秒)
種類
ライブラリ
- ビルトイン (379)
-
cgi
/ core (12) - csv (72)
- digest (12)
- fileutils (12)
-
json
/ add / exception (12) - logger (12)
- mkmf (12)
-
net
/ http (60) - openssl (84)
- optparse (24)
- pathname (1019)
- pstore (12)
- rake (84)
-
rdoc
/ markup / to _ html _ crossref (12) -
rexml
/ document (36) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ source _ index (12) -
rubygems
/ validator (36) - uri (48)
クラス
- CGI (12)
- CSV (60)
-
Digest
:: Base (12) - Dir (64)
-
Encoding
:: Converter (36) - Exception (24)
- File (78)
-
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: SourceIndex (12) -
Gem
:: Validator (36) - IO (18)
- Logger (12)
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: X509 :: Store (24) - OptionParser (24)
- PStore (12)
- Pathname (1007)
- Proc (12)
-
RDoc
:: Markup :: ToHtmlCrossref (12) -
REXML
:: Element (12) -
REXML
:: Elements (24) -
Rake
:: Application (12) -
Rake
:: DefaultLoader (12) -
RubyVM
:: InstructionSequence (12) - String (12)
- Thread (24)
-
Thread
:: Backtrace :: Location (36) - TracePoint (24)
-
URI
:: FTP (24) -
URI
:: Generic (12) -
URI
:: MailTo (12)
モジュール
- FileUtils (12)
- Kernel (72)
-
OpenSSL
:: X509 (24) - Rake (36)
-
Rake
:: TaskManager (12) -
RubyVM
:: AbstractSyntaxTree (3)
オブジェクト
- ENV (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - CSV (12)
-
DEFAULT
_ CERT _ STORE (12) - ErrorData (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
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
. 1 . 0 (4) -
PATH
_ SEPARATOR (24) - Pathname (12)
- Ruby用語集 (12)
-
SEPARATOR
_ PAT (12) -
TO
_ PATH (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (12) - X509 (12)
- [] (12)
- absolute? (12)
-
absolute
_ path (12) -
absolute
_ path? (6) -
add
_ path (12) - application (12)
- application= (12)
- ascend (24)
- atime (12)
-
backtrace
_ locations (24) - basename (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
-
body
_ stream (12) -
body
_ stream= (12) - build (60)
-
cert
_ store= (24) - chardev? (12)
- children (12)
- chmod (12)
- chown (12)
- component (12)
-
create
_ makefile (12) -
create
_ rule (12) - ctime (12)
- delete (12)
-
delete
_ all (12) - descend (24)
- directory? (24)
- dirname (12)
-
each
_ child (40) -
each
_ entry (15) -
each
_ line (24) - empty? (9)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- extname (12)
- file (12)
- file? (12)
- find (24)
- fnmatch (12)
- fnmatch? (12)
- foreach (48)
- formatter (12)
- ftype (12)
-
get
_ elements (12) - grpowned? (12)
- inspect (24)
-
installed
_ spec _ directories (12) - irb (12)
- join (12)
- lchmod (12)
- lchown (12)
- load (12)
- logger (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) - mkdir (12)
- mkpath (12)
- mtime (12)
-
net
/ http (12) - new (72)
- open (72)
- opendir (24)
-
original
_ dir (24) - owned? (12)
-
parse
_ file (3) - pathmap (12)
- pipe? (12)
-
program
_ name (12) -
program
_ name= (12) -
rb
_ class _ path (12) - rdoc (12)
-
rdoc
/ generator / json _ index (12) - read (12)
-
read
_ body (24) - readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (12)
-
relative
_ path _ from (12) -
remove
_ entry _ secure (12) -
remove
_ leading _ dot _ dir (12) - rename (12)
- rmdir (12)
- rmtree (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) - rubygems (12)
-
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / mirror _ command (12) -
set
_ backtrace (12) -
set
_ default _ paths (12) - setgid? (12)
- setuid? (12)
- size (12)
- size? (12)
- socket? (12)
-
source
_ location (12) - spawn (48)
- split (12)
- stat (12)
- sticky? (12)
- symlink? (12)
- sysopen (12)
-
test
/ unit (1) -
to
_ a (24) -
to
_ json (12) -
to
_ path (39) -
to
_ s (24) - truncate (12)
- unlink (12)
- utime (12)
-
verify
_ gem _ file (12) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
- zero? (12)
- セキュリティモデル (5)
検索結果
先頭5件
-
PStore
# path -> String (21101.0) -
データベースのファイル名を得ます。
データベースのファイル名を得ます。 -
File
. path(filename) -> String (18205.0) -
指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
...は、to_path メソッドを呼びます。
@param filename ファイル名を表す文字列か to_path メソッドが定義されたオブジェクトを指定します。
//emlist[例][ruby]{
require '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"
//}... -
IO
# path -> String | nil (18127.0) -
IO に関連付けられたパスを返します。IO がパスに関連付けられていない場合は nil を返します。
...が返すパスがファイルシステム上に存在することは保証されていません。
//emlist[例][ruby]{
p STDIN.path # => "<STDIN>"
p IO.new(IO.sysopen("/")).path # => "/"
p IO.new(IO.sysopen("/"), path: "foo").path # => "foo"
//}... -
Dir
# path -> String (18121.0) -
オープンしているディレクトリのパス名を文字列で返します。
...オープンしているディレクトリのパス名を文字列で返します。
//emlist[例][ruby]{
Dir.open("..") do |d|
d.path # => ".."
d.to_path # => ".."
end
//}... -
File
# path -> String (18121.0) -
オープン時に使用したパスを文字列で返します。
...作成されていたりする場合です。
//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 } #=> "/tmp"
//}......発生します。
//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?)
//}... -
TracePoint
# path -> String (18119.0) -
イベントが発生したファイルのパスを返します。
...トが発生したファイルのパスを返します。
@raise RuntimeError イベントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.path # => "/path/to/test.rb"
end
trace.enable
foo 1
//}... -
Pathname
# to _ path -> String (15224.0) -
File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ クトにおいては、 to_s と同じです。
...File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ
クトにおいては、 to_s と同じです。
@see Pathname#to_s... -
Pathname
:: TO _ PATH -> Symbol (15202.0) -
内部的に使っている定数です。利用者が使うことはありません。
内部的に使っている定数です。利用者が使うことはありません。 -
File
:: PATH _ SEPARATOR -> ";" | ":" (12217.0) -
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な どでは ";" です。
...
PATH 環境変数の要素のセパレータです。UNIX では ":" MS-DOS な
どでは ";" です。... -
CGI
:: PATH _ SEPARATOR -> Hash (12201.0) -
パスの区切り文字を格納します。
パスの区切り文字を格納します。