2450件ヒット
[1-100件を表示]
(0.038秒)
ライブラリ
- ビルトイン (604)
-
cgi
/ core (24) - csv (12)
- etc (60)
-
irb
/ cmd / load (12) -
irb
/ context (12) -
json
/ add / exception (12) - logger (12)
- mkmf (48)
-
net
/ ftp (10) -
net
/ http (120) -
net
/ pop (36) - open-uri (24)
- openssl (12)
- optparse (12)
- pathname (156)
- pstore (12)
- rake (72)
-
rake
/ packagetask (12) -
rexml
/ document (72) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ defaults (12) -
rubygems
/ format (36) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ old _ format (12) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ security (24) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (60) -
rubygems
/ validator (24) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (12) - socket (96)
- tempfile (12)
- uri (276)
-
webrick
/ httpauth / htdigest (24) -
webrick
/ httpauth / htgroup (24) -
webrick
/ httpauth / htpasswd (24) -
webrick
/ httprequest (36) -
webrick
/ httpserver (24) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ httputils (12) -
webrick
/ ssl (12) -
win32
/ resolv (12) - win32ole (12)
- zlib (12)
クラス
-
ARGF
. class (24) - Addrinfo (48)
-
CGI
:: Cookie (12) - CSV (12)
- Dir (88)
- Exception (24)
- File (156)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: Format (36) -
Gem
:: GemPathSearcher (24) -
Gem
:: OldFormat (12) -
Gem
:: RemoteFetcher (36) -
Gem
:: Security :: Policy (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (60) -
Gem
:: Validator (24) - IO (126)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Load (12) - LoadError (12)
- Logger (12)
-
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (72) -
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (12) -
Net
:: POP3 (36) -
OpenSSL
:: SSL :: SSLContext (12) - OptionParser (12)
- PStore (12)
- Pathname (156)
- Proc (12)
-
RDoc
:: Options (12) -
REXML
:: Attribute (12) -
REXML
:: Element (24) -
REXML
:: XPath (36) -
Rake
:: Application (12) -
Rake
:: PackageTask (12) -
RubyVM
:: InstructionSequence (36) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - Socket (36)
- String (48)
- SyntaxError (3)
- Tempfile (12)
-
Thread
:: Backtrace :: Location (48) - TracePoint (24)
- UNIXSocket (12)
-
URI
:: FTP (48) -
URI
:: Generic (120) -
URI
:: HTTP (48) -
URI
:: LDAP (12) -
URI
:: MailTo (12) -
WEBrick
:: Cookie (48) -
WEBrick
:: HTTPAuth :: Htdigest (24) -
WEBrick
:: HTTPAuth :: Htgroup (24) -
WEBrick
:: HTTPAuth :: Htpasswd (24) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPServer (12) -
WEBrick
:: HTTPServer :: MountTable (12) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
WIN32OLE
_ TYPELIB (12) -
Win32
:: Resolv (12) -
Zlib
:: GzipFile (12)
モジュール
-
CGI
:: QueryExtension (24) - Etc (60)
- FileTest (12)
- Gem (12)
-
Gem
:: RequirePathsBuilder (12) -
Gem
:: Security (12) - Kernel (84)
- OpenURI (24)
- Rake (12)
-
RubyVM
:: AbstractSyntaxTree (3) - URI (36)
-
WEBrick
:: Config (12) -
WEBrick
:: HTTPUtils (12)
オブジェクト
- ENV (12)
キーワード
-
$ -I (12) -
$ : (12) -
$ LOAD _ PATH (12) -
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (12) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
PC
_ CHOWN _ RESTRICTED (12) -
PC
_ PRIO _ IO (12) - SSL (12)
- [] (12)
-
absolute
_ path (36) -
attribute
_ alias _ singular (12) - binread (24)
- binwrite (24)
-
body
_ stream (12) -
body
_ stream= (12) - build (72)
- build2 (24)
-
ca
_ path (24) - certs (12)
- children (16)
- component (12)
- confstr (12)
-
default
_ path (12) -
dir
_ config (12) - each (12)
-
enable
_ ssl (24) - entries (36)
-
escape
_ path (12) - execute (12)
- extname (12)
-
family
_ addrinfo (24) -
fetch
_ path (12) - filename (12)
-
find
_ executable (12) - first (12)
- flush (36)
- formatter (12)
-
from
_ file _ by _ path (12) -
from
_ io (12) - ftype (12)
-
full
_ gem _ path (12) -
gem
_ path (24) - get (24)
-
get
_ file _ uri _ path (12) -
get
_ hosts _ path (12) -
get
_ path (12) -
get
_ print (24) -
get
_ response (12) - hierarchical? (12)
- home (24)
- inspect (36)
-
installation
_ path (12) -
installed
_ spec _ directories (12) - irb (12)
-
irb
_ path (12) - join (24)
-
lib
_ dirs _ for (12) - libpathflag (12)
-
link
_ command (12) - match (12)
-
matching
_ files (12) - new (120)
- new2 (12)
-
open
_ uri (24) -
open
_ uri _ or _ path (12) -
original
_ dir (24) -
pack
_ sockaddr _ un (12) -
package
_ dir _ path (12) - parse (24)
-
parse
_ file (3) - path= (24)
-
path
_ info (24) -
path
_ info= (12) -
path
_ translated (12) - pathmap (12)
-
pathmap
_ explode (12) -
pathmap
_ partial (12) -
pathmap
_ replace (12) - pathname (10)
-
program
_ name (12) - rdoc (12)
- read (48)
-
read
_ body (12) - readlines (48)
- readlink (30)
- realdirpath (12)
- realpath (12)
-
remove
_ leading _ dot _ dir (12) -
request
_ uri (12) -
require
_ path (12) -
require
_ paths (12) -
ruby 1
. 9 feature (12) - rubygems (12)
-
rubygems
/ security (12) - scan (12)
- select (12)
-
set
_ backtrace (12) -
sockaddr
_ un (12) -
source
_ location (12) -
spec
_ path (12) - split (42)
-
static
_ path (12) - text (12)
-
to
_ json (12) -
to
_ path (39) -
to
_ s (24) -
trusted
_ cert _ path (12) -
try
_ file (12) - unix (12)
-
unix
_ path (12) -
unix
_ server _ loop (12) -
verify
_ gem _ file (12) -
verify
_ trust _ dir (12) -
webrick
/ cgi (12) -
world
_ writable? (36) - writable? (24)
-
writable
_ real? (24) - write (36)
-
write
_ require _ paths _ file _ if _ needed (12) - xpath (24)
- 変数と定数 (12)
検索結果
先頭5件
-
URI
:: Generic # path -> String | nil (24247.0) -
自身の path を文字列で返します。設定されていない場合は nil を返します。
... path を文字列で返します。設定されていない場合は nil を返します。
require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI......('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').path #=> '/foo'... -
Net
:: HTTPGenericRequest # path -> String (21223.0) -
リクエストする path を文字列で返します。
...リクエストする path を文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.path # => "/index.html"
//}... -
WEBrick
:: Cookie # path -> String (21202.0) -
パス名を文字列で表すアクセサです。
パス名を文字列で表すアクセサです。
@param value パス名を文字列で指定します。 -
WEBrick
:: HTTPRequest # path -> String (21201.0) -
リクエスト URI のパスを表す文字列を返します。
...リクエスト URI のパスを表す文字列を返します。... -
File
. path(filename) -> String (18277.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 (18226.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"
//}... -
CSV
# path -> String (18223.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
File
# path -> String (18220.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?)
//}... -
RubyVM
:: InstructionSequence # path -> String (18219.0) -
self が表す命令シーケンスの相対パスを返します。
...ompiled>@<compiled>>
iseq.path
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"
@see Ruby......VM::InstructionSequence#absolute_path... -
Zlib
:: GzipFile # path -> String (18217.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。...