6039件ヒット
[1-100件を表示]
(0.079秒)
ライブラリ
- ビルトイン (1574)
-
cgi
/ session (12) - csv (132)
- digest (24)
- etc (24)
- fileutils (60)
- irb (12)
-
irb
/ cmd / load (24) -
irb
/ input-method (12) -
irb
/ magic-file (24) -
json
/ add / exception (12) - mkmf (96)
-
net
/ ftp (30) -
net
/ http (600) -
net
/ pop (36) - open-uri (24)
- openssl (108)
- optparse (24)
- pathname (1142)
- rake (96)
-
rake
/ testtask (12) -
rdoc
/ markup / to _ html _ crossref (12) -
rexml
/ document (144) - rss (24)
- rubygems (36)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ custom _ require (12) -
rubygems
/ ext / builder (12) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ format (48) -
rubygems
/ gem _ path _ searcher (48) -
rubygems
/ indexer (12) -
rubygems
/ installer (12) -
rubygems
/ old _ format (48) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ security (24) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (84) -
rubygems
/ uninstaller (12) -
rubygems
/ validator (24) - shell (120)
-
shell
/ command-processor (60) -
shell
/ filter (48) - socket (324)
- tempfile (72)
- uri (240)
-
webrick
/ httpauth / htdigest (24) -
webrick
/ httpauth / htgroup (24) -
webrick
/ httpauth / htpasswd (24) -
webrick
/ httprequest (12) -
webrick
/ httpserver (24) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ httputils (12) - win32ole (12)
クラス
- Addrinfo (48)
-
CGI
:: Cookie (24) -
CGI
:: Session (12) - CSV (132)
-
Digest
:: Base (24) - Dir (333)
-
Encoding
:: Converter (60) - Exception (24)
- File (487)
-
File
:: Stat (24) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: Ext :: Builder (12) -
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: Format (48) -
Gem
:: GemPathSearcher (48) -
Gem
:: Indexer (12) -
Gem
:: Installer (12) -
Gem
:: OldFormat (48) -
Gem
:: RemoteFetcher (36) -
Gem
:: Security :: Policy (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (84) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (24) - IO (240)
-
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: FileInputMethod (12) -
Net
:: FTP (30) -
Net
:: HTTP (540) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPRequest (12) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (36) -
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: X509 :: Store (24) - OptionParser (24)
- Pathname (1130)
- Proc (12)
-
RDoc
:: Markup :: ToHtmlCrossref (12) -
RDoc
:: Options (12) -
REXML
:: Element (48) -
REXML
:: Elements (60) -
REXML
:: XPath (36) -
RSS
:: Rss :: Channel :: Cloud (24) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (12) -
Rake
:: TestTask (12) -
RubyVM
:: InstructionSequence (72) - Shell (120)
-
Shell
:: CommandProcessor (60) -
Shell
:: Filter (48) - Socket (132)
- String (24)
- Tempfile (72)
- Thread (24)
-
Thread
:: Backtrace :: Location (48) - TracePoint (12)
- UNIXServer (48)
- UNIXSocket (48)
-
URI
:: FTP (48) -
URI
:: Generic (96) -
URI
:: HTTP (36) -
URI
:: LDAP (12) -
URI
:: MailTo (12) -
WEBrick
:: Cookie (48) -
WEBrick
:: HTTPAuth :: Htdigest (24) -
WEBrick
:: HTTPAuth :: Htgroup (24) -
WEBrick
:: HTTPAuth :: Htpasswd (24) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPServer (12) -
WEBrick
:: HTTPServer :: MountTable (12) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
WIN32OLE
_ TYPELIB (12)
モジュール
- Etc (12)
- FileTest (24)
- FileUtils (72)
- Gem (24)
-
Gem
:: RequirePathsBuilder (12) -
Gem
:: Security (12) - IRB (12)
- Kernel (348)
-
OpenSSL
:: X509 (48) - OpenURI (24)
- Rake (24)
-
Rake
:: TaskManager (12) -
RubyVM
:: AbstractSyntaxTree (10) -
Socket
:: Constants (48) - URI (36)
-
WEBrick
:: HTTPUtils (12)
オブジェクト
- ENV (12)
-
IRB
:: MagicFile (24)
キーワード
-
$ -I (12) -
$ : (12) -
$ LOAD _ PATH (12) - + (12)
-
/ (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (24)
- == (12)
- === (12)
- Cookie (12)
- ErrorData (12)
-
IPV6
_ PATHMTU (24) -
IPV6
_ RECVPATHMTU (24) -
IP
_ MTU _ DISCOVER (24) -
MSG
_ CONFIRM (24) -
NEWS for Ruby 3
. 1 . 0 (4) - Pathname (12)
- Ruby用語集 (12)
-
V
_ ERR _ DEPTH _ ZERO _ SELF _ SIGNED _ CERT (12) -
V
_ ERR _ SELF _ SIGNED _ CERT _ IN _ CHAIN (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (12) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (12) - [] (12)
-
absolute
_ path (36) -
absolute
_ path? (6) -
add
_ path (12) - application (12)
- application= (12)
- atime (12)
-
attribute
_ alias _ singular (12) -
backtrace
_ locations (24) - basename (12)
- binread (24)
- binwrite (24)
- birthtime (11)
- blockdev? (24)
-
body
_ stream (12) -
body
_ stream= (12) - build (108)
- build2 (24)
-
ca
_ file= (12) -
ca
_ path (24) -
ca
_ path= (24) -
caller
_ locations (24) - cd (12)
-
cert
_ store= (24) - certs (12)
- chardev? (24)
- chdir (54)
- children (28)
- chmod (12)
- chown (12)
- chroot (12)
- cleanpath (12)
- close (12)
- collect (12)
- compile (12)
-
compile
_ file (12) - confstr (12)
- convpath (12)
- copy (12)
- create (24)
-
create
_ makefile (12) -
create
_ rule (12) - ctime (12)
-
def
_ system _ command (12) -
default
_ system _ path (6) -
default
_ system _ path= (6) - delete (24)
-
delete
_ all (12) -
dir
_ config (12) - directory? (24)
- dirname (12)
- each (24)
-
each
_ child (56) -
each
_ element (12) -
each
_ entry (15) -
each
_ line (24) - empty? (27)
-
enable
_ ssl (24) - entries (36)
- eql? (12)
-
escape
_ path (12) - exec (48)
- executable? (24)
-
executable
_ real? (24) - execute (24)
- exist? (24)
- extensions= (12)
- extname (12)
-
extra
_ rdoc _ files= (12) -
family
_ addrinfo (24) - fdatasync (12)
-
fetch
_ path (12) - file (24)
- file? (24)
- find (36)
-
find
_ all (12) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ paths (12) - first (12)
- flush (48)
- fnmatch (24)
- fnmatch? (24)
-
for
_ fd (3) - foreach (114)
-
from
_ file _ by _ path (24) -
from
_ io (24) - ftype (12)
- gem (12)
-
gem
_ path= (24) -
gem
_ paths (12) - get (48)
- get2 (24)
-
get
_ elements (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) -
get
_ print (24) -
get
_ response (24) -
get
_ text (12) - getwd (12)
- glob (40)
- grpowned? (24)
- head (12)
- head2 (24)
- home (24)
- inject (12)
- inspect (24)
-
install
_ system _ commands (6) -
installed
_ spec _ directories (12) - join (36)
- lchmod (12)
- lchown (12)
- libpathflag (12)
- libs= (12)
-
link
_ command (12) - load (12)
-
loaded
_ from= (12) - lock (12)
- logger (12)
- lstat (12)
- make (12)
-
make
_ link (12) -
make
_ symlink (12) - match (12)
-
matching
_ file? (12) -
matching
_ files (12) - mkcol (12)
- mkdir (42)
- mkpath (24)
- mlsd (20)
- mlst (10)
- move (12)
- mtime (12)
-
net
/ http (12) - new (375)
- new2 (12)
- open (264)
-
open
_ uri (24) -
open
_ uri _ or _ path (12) - opendir (24)
- owned? (24)
-
pack
_ sockaddr _ un (12) - paranoid (12)
- parse (24)
-
parse
_ file (10) - patch (24)
- path= (48)
-
path
_ info= (12) -
path
_ ok? (12) -
path
_ warning= (12) - pathconf (12)
- pathmap (12)
-
pathmap
_ explode (12) -
pathmap
_ replace (12) - pipe? (24)
- post (24)
- post2 (24)
-
program
_ name (12) -
program
_ name= (12) - propfind (12)
- proppatch (12)
- pushd (6)
- pushdir (6)
- put (12)
- put2 (24)
- pwd (12)
-
rdoc
/ generator / json _ index (12) - read (60)
-
read
_ body (24) - readable? (24)
-
readable
_ real? (24) - readlines (60)
- readlink (42)
- realdirpath (24)
- realpath (36)
-
relative
_ path _ from (12) -
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - rename (12)
- reopen (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) - require (12)
-
require
_ path (12) -
require
_ path= (12) -
require
_ paths= (12) -
require
_ relative (12) - rmdir (42)
- rmtree (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) - rubygems (12)
-
rubygems
/ security (12) - scan (12)
-
search
_ convpath (12) - select (12)
-
send
_ request (12) -
set
_ backtrace (12) -
set
_ default _ paths (12) -
set
_ paths (12) - setgid? (24)
- setuid? (24)
- size (24)
- size? (24)
-
sockaddr
_ un (12) - socket? (24)
-
source
_ index (12) -
source
_ location (12) - spawn (48)
-
spec
_ path (12) - split (54)
-
split
_ all (12) - start (12)
- stat (12)
-
static
_ path= (12) - sticky? (24)
- sub (24)
-
sub
_ ext (12) - symlink? (24)
- sysopen (24)
- system (48)
-
system
_ path (6) -
system
_ path= (6) - table (12)
-
test
/ unit (1) - text (12)
-
to
_ a (12) -
to
_ json (12) -
to
_ path (20) -
to
_ s (12) - trace (12)
- truncate (54)
-
trusted
_ cert _ path (12) -
try
_ file (12) - unix (36)
-
unix
_ path (12) -
unix
_ server _ loop (12) -
unix
_ server _ socket (24) - unlink (30)
- unlock (12)
- utime (12)
-
verify
_ gem _ file (12) -
verify
_ trust _ dir (12) -
world
_ readable? (36) -
world
_ writable? (36) - writable? (24)
-
writable
_ real? (24) - write (36)
-
write
_ require _ paths _ file _ if _ needed (12) - zero? (24)
- セキュリティモデル (12)
- 変数と定数 (12)
検索結果
先頭5件
-
File
. path(filename) -> String (18189.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"
//}... -
URI
:: Generic # path -> String | nil (18153.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'... -
CSV
# path -> String (18129.0) -
IO#path に委譲します。
...IO#path に委譲します。
@see IO#path... -
File
# path -> String (18126.0) -
オープン時に使用したパスを文字列で返します。
...る場合です。
@raise IOError 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?)
//}... -
RubyVM
:: InstructionSequence # path -> String (18125.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... -
Thread
:: Backtrace :: Location # path -> String (18119.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... -
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
//}... -
WIN32OLE
_ TYPELIB # path -> String (18119.0) -
TypeLibのパス名を取得します。
...TypeLibのパス名を取得します。
@return TypeLibのパス名を文字列で返します。この値はレジストリの登録値を
そのまま利用するため、Rubyのパス名形式(ディレクトリ区切りは
「/」)ではなく、Windowsのパス名形式(......ディレクトリ区切りは「\」)
です。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.path # => 'C:\...\EXCEL.EXE'
TypeLibは拡張子TLB(まれに... -
RSS
:: Rss :: Channel :: Cloud # path (18118.0) -
@todo
...@todo...