2048件ヒット
[1-100件を表示]
(0.108秒)
ライブラリ
- ビルトイン (932)
-
cgi
/ session (12) - csv (84)
- digest (12)
- irb (12)
-
irb
/ input-method (12) -
irb
/ magic-file (24) -
net
/ http (84) -
net
/ pop (24) - open-uri (24)
- pathname (24)
- rake (36)
-
rdoc
/ markup / to _ html _ crossref (12) -
rexml
/ document (36) -
rubygems
/ defaults (12) -
rubygems
/ ext / builder (12) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ format (36) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ installer (24) -
rubygems
/ old _ format (36) -
rubygems
/ security (24) -
rubygems
/ source _ index (12) -
rubygems
/ specification (12) - shell (18)
-
shell
/ command-processor (6) - socket (120)
- tempfile (60)
- uri (216)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpserver (12) -
webrick
/ httpservlet / filehandler (12)
クラス
- Addrinfo (12)
-
CGI
:: Session (12) - CSV (84)
-
Digest
:: Base (12) - Dir (333)
-
Encoding
:: Converter (48) - File (324)
-
Gem
:: Ext :: Builder (12) -
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: Format (36) -
Gem
:: GemPathSearcher (12) -
Gem
:: Installer (24) -
Gem
:: OldFormat (36) -
Gem
:: Security :: Policy (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (12) - IO (168)
-
IRB
:: FileInputMethod (12) -
Net
:: HTTP (72) -
Net
:: HTTPRequest (12) -
Net
:: POP3 (24) - Pathname (24)
-
RDoc
:: Markup :: ToHtmlCrossref (12) -
REXML
:: XPath (36) - RubyVM (1)
-
RubyVM
:: InstructionSequence (36) - Shell (18)
-
Shell
:: CommandProcessor (6) - Socket (60)
- Tempfile (60)
- UNIXServer (48)
-
URI
:: FTP (48) -
URI
:: Generic (72) -
URI
:: HTTP (36) -
URI
:: LDAP (12) -
URI
:: MailTo (12) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPServer (12) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12)
モジュール
- Gem (12)
-
Gem
:: Security (12) - IRB (12)
- OpenURI (24)
- Rake (36)
-
RubyVM
:: AbstractSyntaxTree (10) - URI (36)
オブジェクト
- ENV (12)
-
IRB
:: MagicFile (24)
キーワード
- [] (12)
-
absolute
_ path (12) - application (12)
- application= (12)
-
attribute
_ alias _ singular (12) - binread (12)
- binwrite (12)
- build (108)
- build2 (24)
- cd (6)
- certs (12)
- chardev? (12)
- chdir (48)
- children (16)
- chroot (12)
- compile (12)
-
compile
_ file (12) - component (12)
- create (24)
-
def
_ system _ command (6) -
default
_ path (12) -
default
_ system _ path (6) - delete (12)
- directory? (12)
- each (12)
-
each
_ child (32) - empty? (9)
-
enable
_ ssl (12) - entries (24)
-
executable
_ real? (12) - file (12)
- first (12)
- fnmatch (12)
- fnmatch? (12)
-
for
_ fd (3) - foreach (96)
-
from
_ file _ by _ path (24) -
from
_ io (24) - get (24)
-
get
_ print (24) -
get
_ response (24) - glob (24)
- grpowned? (12)
- home (24)
-
install
_ system _ commands (6) -
installed
_ spec _ directories (12) - join (24)
- make (12)
- match (12)
- mkdir (12)
- new (327)
- new2 (12)
- open (174)
-
open
_ uri (24) -
original
_ dir (12) -
pack
_ sockaddr _ un (12) - parse (24)
-
parse
_ file (10) -
path
_ warning (12) -
path
_ warning= (12) - read (48)
- readable? (12)
-
readable
_ real? (12) - readlines (48)
- readlink (12)
- realdirpath (12)
- realpath (12)
-
resolve
_ feature _ path (1) - rmdir (12)
-
search
_ convpath (12) - size (12)
- size? (12)
-
sockaddr
_ un (12) - split (24)
- start (12)
- sysopen (12)
- table (12)
- truncate (12)
-
trusted
_ cert _ path (12) - unix (12)
-
unix
_ server _ loop (12) -
unix
_ server _ socket (24) - unlink (12)
-
verify
_ trust _ dir (12) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (24)
- zero? (12)
検索結果
先頭5件
-
File
. path(filename) -> String (18278.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"
//}... -
RubyVM
. resolve _ feature _ path (15324.0) -
require を呼んだときに読み込まれるファイルを特定します。 このメソッドはRuby 2.7 で $LOAD_PATH の特異メソッドに移動しました。
...require を呼んだときに読み込まれるファイルを特定します。
このメソッドはRuby 2.7 で $LOAD_PATH の特異メソッドに移動しました。
//emlist[][ruby]{
p RubyVM.resolve_feature_path('set')
# => [:rb, "/build-all-ruby/2.6.0/lib/ruby/2.6.0/set.rb"]
//}... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (12309.0) -
@todo security_policy
...@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???... -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (12309.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
...Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。... -
File
. readable _ real?(path) -> bool (12308.0) -
FileTest.#readable_real? と同じです。
...FileTest.#readable_real? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (12301.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
...ーディングの変換の経路を配列にして返します。
@param source_encoding 変換元の文字エンコーディングを Encoding オ
ブジェクトか文字列で指定します。
@param destination_encoding 変換先の文字エンコーディングを......ます。
@param options 変換の詳細を指定する定数やハッシュを指定します。
Encoding::Converter.new と同じオプションが指定でき
ます。
//emlist[][ruby]{
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP")
#......Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", universal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", newline: :universal)
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "universal_newline"]... -
File
. realdirpath(pathname , basedir = nil) -> String (12301.0) -
与えられた pathname に対応する絶対パスを返します。
...与えられた pathname に対応する絶対パスを返します。
pathname の最後のコンポーネントは存在していなくても例外は発生しません。
@param pathname ファイル名を指定します。
@param basedir ベースディレクトリを指定します。省略......するとカレントディレクトリを使用します。
@raise Errno::ENOENT ファイルが存在しない場合に発生します。... -
File
. realpath(pathname , basedir = nil) -> String (12301.0) -
与えられた pathname に対応する絶対パスを返します。
...与えられた pathname に対応する絶対パスを返します。
pathname の全てのコンポーネントは存在しなければなりません。
@param pathname ファイル名を指定します。
@param basedir ベースディレクトリを指定します。省略するとカレン......使用します。
@raise Errno::ENOENT ファイルが存在しない場合に発生します。
//emlist[例][ruby]{
ENV["HOME"] # => "/home/matz"
File.symlink("testfile", "testlink")
File.realpath("testfile") # => "/home/matz/testfile"
File.realpath("testlink") #......=> "/home/matz/testfile"
File.realpath("..", "/tmp") # => "/"
//}... -
Gem
:: Installer . path _ warning=(flag) (12224.0) -
Gem.bindir が PATH に含まれていない場合に警告を表示するかどうかセットします。
...Gem.bindir が PATH に含まれていない場合に警告を表示するかどうかセットします。
@param flag 真を指定すると、Gem.bindir が PATH に含まれていない場合に警
告を表示するようになります。... -
Gem
:: Installer . path _ warning -> bool (12218.0) -
この値が 真の場合は Gem.bindir が PATH に含まれていない場合に警告を表示します。
...この値が 真の場合は Gem.bindir が PATH に含まれていない場合に警告を表示します。...