2463件ヒット
[1-100件を表示]
(0.127秒)
ライブラリ
- ビルトイン (228)
-
cgi
/ core (24) - csv (24)
- etc (12)
-
irb
/ cmd / load (24) -
irb
/ context (24) -
json
/ add / exception (12) - mkmf (72)
-
net
/ ftp (30) -
net
/ http (504) -
net
/ pop (12) - openssl (48)
- pathname (483)
- rake (72)
-
rake
/ packagetask (12) -
rexml
/ document (84) - rss (24)
- rubygems (36)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ config _ file (24) -
rubygems
/ gem _ path _ searcher (72) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (108) -
rubygems
/ uninstaller (12) - shell (48)
-
shell
/ command-processor (54) -
shell
/ filter (24) - socket (12)
- tempfile (24)
- uri (48)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (36) -
webrick
/ httpserver (12) - win32ole (12)
クラス
-
ARGF
. class (24) -
CGI
:: Cookie (24) - CSV (24)
-
Encoding
:: Converter (12) - Exception (24)
-
File
:: Stat (12) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: ConfigFile (24) -
Gem
:: GemPathSearcher (72) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (108) -
Gem
:: Uninstaller (12) - IO (24)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Source (12) -
Net
:: FTP (30) -
Net
:: HTTP (468) -
Net
:: HTTPGenericRequest (36) -
Net
:: POP3 (12) -
OpenSSL
:: SSL :: SSLContext (48) - Pathname (471)
- Proc (12)
-
RDoc
:: Options (60) -
REXML
:: Element (24) -
REXML
:: Elements (60) -
RSS
:: Rss :: Channel :: Cloud (24) -
Rake
:: Application (12) -
Rake
:: FileList (12) -
Rake
:: PackageTask (12) -
RubyVM
:: InstructionSequence (48) - Shell (48)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (24) - String (24)
- Tempfile (24)
- Thread (24)
-
Thread
:: Backtrace :: Location (48) - TracePoint (24)
- UNIXSocket (12)
-
URI
:: Generic (48) -
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)
モジュール
-
CGI
:: QueryExtension (24) - FileUtils (12)
-
Gem
:: QuickLoader (24) -
Gem
:: RequirePathsBuilder (12) - Kernel (96)
-
Rake
:: TaskManager (12)
キーワード
- <=> (12)
- Pathname (12)
-
absolute
_ path (24) - ascend (24)
-
backtrace
_ locations (24) - basename (12)
- 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 (12)
-
delete
_ all (12) - descend (24)
-
dir
_ config (12) - directory? (12)
- each (12)
-
each
_ child (24) -
each
_ element (12) -
each
_ entry (15) -
each
_ filename (12) -
each
_ line (24) -
enable
_ ssl (12) - entries (12)
- executable? (12)
-
executable
_ real? (12) - execute (24)
- extensions= (12)
-
extra
_ rdoc _ files= (12) - fdatasync (12)
-
fetch
_ path (12) - filename (12)
- find (36)
-
find
_ all (12) -
find
_ executable (12) -
find
_ library (24) -
find
_ paths (12) - flush (36)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
-
full
_ gem _ path (12) - gem (12)
-
gem
_ paths (12) - get (24)
- get2 (24)
-
get
_ file _ uri _ path (12) -
get
_ path (12) - head (12)
- head2 (24)
- hierarchical? (12)
-
init
_ gemspecs (12) - inject (12)
- inspect (36)
-
installation
_ path (12) -
irb
_ path (12) -
irb
_ path= (12) - lchmod (12)
- lchown (12)
-
lib
_ dirs _ for (12) -
link
_ command (12) -
loaded
_ from= (12) - lock (12)
-
matching
_ file? (12) -
matching
_ files (12) - mkcol (12)
- mkdir (6)
- mlsd (20)
- mlst (10)
- move (12)
- open (18)
-
open
_ uri _ or _ path (12) -
original
_ dir (12) -
package
_ dir _ path (12) -
page
_ dir (12) - patch (24)
- path= (60)
-
path
_ info (24) -
path
_ info= (12) -
path
_ ok? (12) -
path
_ translated (12) - pathconf (12)
- pathmap (24)
-
pathmap
_ replace (12) - post (24)
- post2 (24)
- 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)
- readlink (18)
- realpath (24)
-
relative
_ path _ from (12) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) - rmdir (6)
- root (12)
-
sanitize
_ path (12) - scan (12)
- select (12)
-
send
_ request (12) -
set
_ backtrace (12) -
set
_ params (12) - socket? (12)
-
source
_ location (12) -
spec
_ path (12) - split (18)
-
split
_ all (12) -
static
_ path (12) -
static
_ path= (12) - sticky? (12)
- sub (24)
-
sub
_ ext (12) -
to
_ a (24) -
to
_ json (12) -
to
_ s (12) - trace (12)
- truncate (42)
-
try
_ file (12) - unlink (6)
- unlock (12)
- utime (12)
-
write
_ require _ paths _ file _ if _ needed (12) - xpath (12)
検索結果
先頭5件
-
URI
:: Generic # path -> String | nil (21148.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 #=> n......il
p URI('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').path #=> '/foo'... -
Thread
:: Backtrace :: Location # path -> String (21126.0) -
self が表すフレームのファイル名を返します。
...self が表すフレームのファイル名を返します。
例: Thread::Backtrace::Location の例1を用いた例
//emlist[][ruby]{
loc = c(0..1).first
loc.path # => "caller_locations.rb"
//}
@see Thread::Backtrace::Location#absolute_path... -
CSV
# path -> String (21124.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
Net
:: HTTPGenericRequest # path -> String (21124.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"
//}... -
RubyVM
:: InstructionSequence # path -> String (21120.0) -
self が表す命令シーケンスの相対パスを返します。
...していた
場合は "<compiled>" を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<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 RubyVM::InstructionSequence#absolute_path... -
TracePoint
# path -> String (21114.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
//}... -
UNIXSocket
# path -> String (21108.0) -
UNIX ソケットのパスを返します。
...UNIX ソケットのパスを返します。
クライアント側はパスを持たないため空文字列となります。
例:
require 'socket'
UNIXServer.open("/tmp/s") {|serv|
p serv.path #=> "/tmp/s"
}... -
RSS
:: Rss :: Channel :: Cloud # path (21103.0) -
@todo
@todo -
WEBrick
:: Cookie # path -> String (21103.0) -
パス名を文字列で表すアクセサです。
パス名を文字列で表すアクセサです。
@param value パス名を文字列で指定します。