2024件ヒット
[1-100件を表示]
(0.074秒)
ライブラリ
- ビルトイン (418)
-
cgi
/ core (22) -
cgi
/ session (11) - csv (88)
- etc (407)
- fileutils (11)
-
irb
/ context (11) -
json
/ add / exception (11) - mkmf (11)
-
net
/ http (429) - open-uri (22)
- openssl (33)
- optparse (11)
- pathname (22)
- rake (22)
-
rdoc
/ markup / to _ html _ crossref (11) - rubygems (11)
-
rubygems
/ commands / unpack _ command (11) -
rubygems
/ config _ file (11) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ gem _ path _ searcher (33) -
rubygems
/ security (11) -
rubygems
/ specification (55) - socket (55)
- tempfile (50)
- uri (22)
-
webrick
/ httpserver (11) -
webrick
/ ssl (11)
クラス
-
CGI
:: Session (11) - CSV (88)
-
Encoding
:: Converter (55) - Exception (22)
-
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: ConfigFile (11) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: GemPathSearcher (33) -
Gem
:: Security :: Policy (11) -
Gem
:: Specification (55) - IO (44)
-
IRB
:: Context (11) -
Net
:: HTTP (407) -
Net
:: HTTPResponse (22) -
OpenSSL
:: SSL :: SSLContext (33) - OptionParser (11)
- Pathname (22)
- Proc (11)
-
RDoc
:: Markup :: ToHtmlCrossref (11) -
RDoc
:: Options (44) -
Rake
:: Application (11) -
RubyVM
:: InstructionSequence (77) - Socket (11)
- Tempfile (50)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) -
URI
:: Generic (22) -
WEBrick
:: HTTPServer (11)
モジュール
-
CGI
:: QueryExtension (22) - Etc (396)
-
File
:: Constants (11) - FileUtils (11)
- Kernel (176)
- OpenURI (22)
- Rake (11)
-
Socket
:: Constants (44) -
WEBrick
:: Config (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
CS
_ GNU _ LIBC _ VERSION (11) -
CS
_ GNU _ LIBPTHREAD _ VERSION (11) -
CS
_ PATH (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ CFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LIBS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ CFLAGS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LIBS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ CFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LIBS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ CFLAGS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LIBS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ CFLAGS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LIBS (11) -
CS
_ POSIX _ V7 _ THREADS _ CFLAGS (11) -
CS
_ POSIX _ V7 _ THREADS _ LDFLAGS (11) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (11) -
CS
_ V6 _ ENV (11) -
CS
_ V7 _ ENV (11) -
DEFAULT
_ CERT _ STORE (11) -
FNM
_ PATHNAME (11) -
IPV6
_ PATHMTU (11) -
IPV6
_ RECVPATHMTU (11) -
IP
_ MTU _ DISCOVER (11) -
MSG
_ CONFIRM (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (3) - Options (11)
-
PC
_ MAX _ CANON (11) -
PC
_ TIMESTAMP _ RESOLUTION (11) - Rubyの起動 (11)
- SSL (11)
-
absolute
_ path (22) - application (11)
-
attribute
_ alias _ singular (11) -
backtrace
_ locations (22) - binread (22)
- build (33)
-
ca
_ path (11) -
caller
_ locations (22) - cgi (11)
- cleanpath (11)
- compile (11)
-
compile
_ file (11) - component (11)
- confstr (11)
- convpath (11)
- copy (11)
- create (20)
- delete (11)
-
dir
_ config (11) - exec (44)
- find (11)
-
find
_ all (11) - foreach (11)
-
full
_ gem _ path (11) - gem (11)
- get (22)
- get2 (22)
-
get
_ path (11) -
get
_ response (22) - head (11)
- head2 (22)
-
init
_ gemspecs (11) - inspect (22)
-
installation
_ path (11) - irb (11)
-
irb
_ path (11) - lock (11)
- mkcol (11)
- mkpath (11)
- move (11)
- new (87)
- open (64)
-
open
_ uri (22) -
original
_ dir (11) -
page
_ dir (11) - patch (22)
-
path
_ info (11) -
path
_ translated (11) - pathconf (11)
- post (22)
- post2 (22)
-
program
_ name (11) - propfind (11)
- proppatch (11)
- put (11)
- put2 (22)
- rdoc (11)
- read (11)
-
read
_ body (22) - readlines (11)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) -
require
_ path (11) -
require
_ paths (11) - root (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
search
_ convpath (11) - select (11)
-
send
_ request (11) -
set
_ backtrace (11) -
set
_ params (11) -
source
_ location (11) - spawn (44)
-
static
_ path (11) -
static
_ path= (11) - system (44)
- table (11)
-
test
/ unit (1) -
to
_ a (11) -
to
_ json (11) -
to
_ s (11) - trace (11)
-
trusted
_ cert _ path (11) - unlock (11)
- write (22)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # path -> String (21219.0) -
self が表す命令シーケンスの相対パスを返します。
...tionSequence.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::InstructionSe......quence.compile_file('method.rb')
> iseq.path # => "method.rb"
@see RubyVM::InstructionSequence#absolute_path... -
Thread
:: Backtrace :: Location # path -> String (21213.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... -
Gem
:: ConfigFile # path -> String (21201.0) -
Gem を探索するパスを返します。
Gem を探索するパスを返します。 -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (15680.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
...nation_encoding 変換先の文字エンコーディングを
Encoding オブジェクトか文字列で指定し
ます。
@param options 変換の詳細を指定する定数やハッシュを指定します。
Encoding::Conver......:Converter.search_convpath("ISO-8859-1", "EUC-JP")
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>]]
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", universal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-J......# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "universal_newline"]
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", universal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", newline: :unive... -
Encoding
:: Converter # convpath -> Array (15348.0) -
変換器が行う変換の経路を配列にして返します。
...う変換の経路の配列
//emlist[][ruby]{
ec = Encoding::Converter.new("ISo-8859-1", "EUC-JP", crlf_newline: true)
p ec.convpath
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "crlf_newline"]
//}
@see Encoding::Converter.search_convpath... -
Gem
:: Specification # installation _ path -> String (15301.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
IO
# pathconf(name) -> Integer | nil (12306.0) -
fpathconf(3) で取得したファイルの設定変数の値を返します。
...fpathconf(3) で取得したファイルの設定変数の値を返します。
引数 name が制限に関する設定値であり、設定が制限がない状態の場合は nil
を返します。(fpathconf(3) が -1 を返し、errno が設定されていない
場合)
@param name Etc モジ......ュールの PC_ で始まる定数のいずれかを指定します。
//emlist[][ruby]{
require 'etc'
IO.pipe {|r, w|
p w.pathconf(Etc::PC_PIPE_BUF) # => 4096
}
//}... -
Pathname
# cleanpath(consider _ symlink = false) -> Pathname (9436.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
...余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
cleanpath は、実際にファイルシステムを参照することなく、文字列操作
だけで処理を行います。
@param consider_symlink 真ならパス要素にシンボリック......問題ないように .. を残します。
//emlist[例][ruby]{
require "pathname"
path = Pathname.new("//.././../")
path # => #<Pathname://.././../>
path.cleanpath # => #<Pathname:/>
require 'pathname'
Dir.rmdir("/tmp/foo") rescue nil
File.unlink("/tmp/bar/foo") res......cue 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>
//}... -
Thread
:: Backtrace :: Location # absolute _ path -> String (9231.0) -
self が表すフレームの絶対パスを返します。
...][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.absolute_path
end
# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}
@see Thread::Backtrace::Location#path... -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (9219.0) -
self が表す命令シーケンスの絶対パスを返します。
...tionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSe......quence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see RubyVM::InstructionSequence#path...