種類
ライブラリ
- ビルトイン (89)
-
cgi
/ session (2) -
cgi
/ session / pstore (1) - etc (5)
- fileutils (22)
- find (2)
- json (1)
- mkmf (14)
-
net
/ ftp (16) -
net
/ http (4) - open3 (2)
- openssl (3)
- pathname (26)
- psych (4)
- rake (5)
-
rake
/ packagetask (4) -
rake
/ rdoctask (2) - rbconfig (2)
-
rdoc
/ generator / darkfish (1) -
rdoc
/ generator / json _ index (1) - rubygems (4)
-
rubygems
/ commands / which _ command (1) -
rubygems
/ defaults (5) -
rubygems
/ dependency _ installer (2) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ gem _ path _ searcher (1) -
rubygems
/ indexer (4) -
rubygems
/ installer (6) -
rubygems
/ package / f _ sync _ dir (2) -
rubygems
/ package / tar _ input (1) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ package / tar _ writer (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ security (2) -
rubygems
/ server (1) -
rubygems
/ source _ index (5) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (3) -
rubygems
/ uninstaller (1) -
rubygems
/ validator (1) - tempfile (5)
- tmpdir (3)
- un (4)
-
webrick
/ config (1) -
webrick
/ httpresponse (1) -
webrick
/ httpserver (8) -
webrick
/ httpstatus (4)
クラス
-
CGI
:: Session (1) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: PStore (1) - Class (1)
- Dir (56)
-
Etc
:: Passwd (2) - File (10)
-
File
:: Stat (7) -
Gem
:: Commands :: WhichCommand (1) -
Gem
:: DependencyInstaller (2) -
Gem
:: Ext :: Builder (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: GemPathSearcher (1) -
Gem
:: Indexer (4) -
Gem
:: Installer (6) -
Gem
:: Package :: TarInput (1) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Package :: TarWriter (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: Server (1) -
Gem
:: SourceIndex (5) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (3) -
Gem
:: Uninstaller (1) -
Gem
:: Validator (1) - IO (2)
-
Net
:: FTP (12) -
Net
:: FTP :: MLSxEntry (4) - Pathname (26)
-
Psych
:: Handler (1) -
Psych
:: Nodes :: Document (3) -
RDoc
:: Generator :: Darkfish (1) -
RDoc
:: Generator :: JsonIndex (1) -
RDoc
:: Options (7) -
Rake
:: Application (1) -
Rake
:: PackageTask (4) -
Rake
:: RDocTask (2) - Tempfile (5)
-
WEBrick
:: HTTPResponse (1) -
WEBrick
:: HTTPServer (5) -
WEBrick
:: HTTPServer :: MountTable (3)
モジュール
- Etc (2)
-
File
:: Constants (6) - FileTest (3)
- FileUtils (22)
- Find (2)
- Gem (9)
-
Gem
:: Package :: FSyncDir (1) -
Gem
:: Security (2) - Kernel (20)
- Marshal (2)
- Open3 (2)
-
OpenSSL
:: X509 (3) - Process (1)
- Rake (3)
- RbConfig (2)
-
WEBrick
:: Config (1) -
WEBrick
:: HTTPStatus (2)
キーワード
-
$ CFLAGS (1) -
$ LDFLAGS (1) -
$ archdir (1) -
$ hdrdir (1) -
$ libdir (1) -
$ sitearchdir (1) -
$ sitelibdir (1) -
$ srcdir (1) -
$ topdir (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) -
DEFAULT
_ CERT _ DIR (1) -
DEFAULT
_ CERT _ DIR _ ENV (1) -
DEFAULT
_ PRIVATE _ DIR (1) - DESTDIR (1)
- DIRECT (1)
- DIRECTORIES (1)
- DOSISH 対応 (1)
- EISDIR (1)
- ENOTDIR (1)
-
FNM
_ CASEFOLD (1) -
FNM
_ DOTMATCH (1) -
FNM
_ NOESCAPE (1) -
FNM
_ PATHNAME (1) -
FNM
_ SYSCASE (1) - FSyncDir (1)
-
GENERATOR
_ DIR (1) - HTTPMisdirectedRequest (1)
- HTTPPermanentRedirect (1)
- HTTPRedirection (1)
- HTTPTemporaryRedirect (1)
- IO (1)
- LIBDIR (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) -
NEWS for Ruby 2
. 7 . 0 (1) - Passwd (1)
-
RC
_ TEMPORARY _ REDIRECT (1) - ReFe (1)
- Redirect (1)
- TOPDIR (1)
- TemporaryRedirect (1)
- [] (2)
- []= (1)
-
_ _ dir _ _ (1) -
absolute
_ path (1) -
add
_ bindir (1) -
add
_ trusted _ cert (1) - application (1)
- application= (1)
-
bin
_ dir (2) - bindir (1)
- bindir= (1)
- blockdev? (2)
- build (3)
-
cache
_ dir (1) - cd (2)
- chardev? (2)
- chdir (7)
- children (4)
- chown (1)
-
chown
_ R (1) - chroot (1)
- cleanpath (1)
-
clear
_ paths (1) - close (1)
-
cp
_ lr (1) -
cp
_ r (1) - create (2)
- daemon (1)
-
default
_ bindir (1) -
default
_ dir (1) -
default
_ system _ source _ cache _ dir (1) -
default
_ user _ source _ cache _ dir (1) - delete (3)
-
dest
_ directory (1) - dir (5)
- dir= (1)
-
dir
_ config (1) - directory (2)
- directory? (6)
-
directory
_ makable? (1) - dirname (2)
- download (1)
-
drb
/ extservm (1) -
dummy
_ makefile (1) - dump (2)
- each (2)
-
each
_ child (8) -
each
_ entry (1) - empty? (2)
-
ensure
_ gem _ subdirectories (1) - entries (3)
- exist? (1)
- exists? (1)
-
extract
_ entry (1) - facts (1)
- fileno (2)
- find (3)
-
find
_ gems _ with _ sources (1) -
find
_ paths (1) -
finish
_ page _ dir (1) - fnmatch (2)
- fnmatch? (2)
- foreach (4)
-
from
_ gems _ in (1) -
fsync
_ dir (1) -
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ windows _ script (1) - getdir (1)
- getwd (2)
- glob (6)
- home (2)
- httpd (1)
- inspect (1)
-
install
_ rb (1) -
installed
_ spec _ directories (1) -
json
_ creatable? (1) -
lib
_ dirs _ for (1) - list (2)
-
ln
_ s (1) -
load
_ gems _ in (1) - ls (2)
-
make
_ temp _ directories (1) - makedirs (1)
- mkdir (6)
-
mkdir
_ p (1) - mkmf (2)
- mkpath (1)
- mktmpdir (2)
- mount (1)
-
mount
_ proc (2) - move (1)
- mv (1)
- new (13)
- nlst (1)
-
op
_ dir (1) -
op
_ dir= (1) - open (6)
- opendir (2)
-
original
_ dir (2) -
package
_ dir (1) -
package
_ dir= (1) -
package
_ dir _ path (1) -
page
_ dir (1) -
page
_ dir= (1) - path (1)
- popen3 (2)
- pos (1)
- pos= (1)
- pwd (3)
-
rake
/ gempackagetask (1) -
rake
/ packagetask (1) - rdoc (1)
-
rdoc
/ generator / json _ index (1) -
rdoc
_ dir (1) -
rdoc
_ dir= (1) - read (1)
- realdirpath (2)
- realpath (3)
- redirect? (1)
- redirector (1)
-
relative
_ path _ from (1) - remove (1)
-
remove
_ dir (1) -
remove
_ leading _ dot _ dir (1) - rewind (1)
- rm (1)
-
rm
_ f (1) -
rm
_ r (1) -
rm
_ rf (1) - rmdir (5)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 9 feature (1) -
rubygems
/ commands / contents _ command (1) -
rubygems
/ commands / generate _ index _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / uninstall _ command (1) -
rubygems
/ package / f _ sync _ dir (1) - seek (1)
-
set
_ redirect (1) - setgid? (1)
- setuid? (1)
- socket? (1)
-
spec
_ dirs (1) -
spec
_ dirs= (1) -
st
_ add _ direct (1) -
start
_ document (1) - sticky? (1)
- symlink (1)
- sysconfdir (1)
- systmpdir (1)
-
tag
_ directives (1) -
tag
_ directives= (1) - tell (1)
-
template
_ dir (1) -
template
_ dir= (1) - tmpdir (2)
-
to
_ i (1) -
to
_ path (1) - touch (1)
- type (1)
- umount (1)
- un (1)
- unlink (2)
- unmount (1)
- unpack (1)
-
user
_ dir (1) -
verify
_ trust _ dir (1) - このマニュアルのヘルプ (1)
- セキュリティモデル (1)
検索結果
先頭5件
-
Kernel
$ $ CFLAGS -> String (19.0) -
拡張ライブラリをコンパイルするときの C コンパイラのオプションや、 ヘッダファイルのディレクトリを指定する文字列です。
拡張ライブラリをコンパイルするときの C コンパイラのオプションや、
ヘッダファイルのディレクトリを指定する文字列です。
Kernel#dir_config の検査が成功すると、
この変数の値に " -Idir" が追加されます。 -
Kernel
$ $ LDFLAGS -> String (19.0) -
拡張ライブラリをリンクするときのリンカのオプション、 ライブラリファイルのディレクトリを指定する文字列です。
拡張ライブラリをリンクするときのリンカのオプション、
ライブラリファイルのディレクトリを指定する文字列です。
Kernel#find_library または Kernel#dir_config
の検査が成功すると、$LDFLAGS の値に "-Ldir" を追加します。 -
Marshal
. # dump(obj , limit = -1) -> String (19.0) -
obj を指定された出力先に再帰的に出力します。
obj を指定された出力先に再帰的に出力します。
ファイルに書き出せないオブジェクトをファイルに書き出そうとすると
例外 TypeError が発生します。
ファイルに書き出せないオブジェクトは以下の通りです。
* 名前のついてない Class/Module オブジェクト。(この場
合は、例外 ArgumentError が発生します。無名クラスについて
は、Module.new を参照。)
* システムがオブジェクトの状態を保持するもの。具体的には以下のイン
スタンス。Dir, File::Stat, IO とそのサブクラス
File, Socket など。... -
Marshal
. # dump(obj , port , limit = -1) -> IO (19.0) -
obj を指定された出力先に再帰的に出力します。
obj を指定された出力先に再帰的に出力します。
ファイルに書き出せないオブジェクトをファイルに書き出そうとすると
例外 TypeError が発生します。
ファイルに書き出せないオブジェクトは以下の通りです。
* 名前のついてない Class/Module オブジェクト。(この場
合は、例外 ArgumentError が発生します。無名クラスについて
は、Module.new を参照。)
* システムがオブジェクトの状態を保持するもの。具体的には以下のイン
スタンス。Dir, File::Stat, IO とそのサブクラス
File, Socket など。... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (19.0) -
そのエントリの「facts」を返します。
そのエントリの「facts」を返します。
facts とはそのエントリに関するファイルサイズなどの様々な情報です。
Net::FTP はこの情報を文字列をキーとするハッシュテーブルで
返します。
標準では以下のような facts が定義されています。これらの facts には
対応するメソッドが定義されています。すべてのサーバでこれら
の facts がすべて実装されているわけではありません。
3659 では
modify, perm, type, size, unique はすべてのサーバで
対応すべき(SHOULD)、とされています。
* "modify" : 変更時刻 (Ti... -
Net
:: FTP :: MLSxEntry # type -> String|nil (19.0) -
エントリの種類を返します。
エントリの種類を返します。
"file", "dir", "cdir", "pdir" などを返します。
情報がない場合は nil を返しますが、通常は
あるはずです。 -
Pathname
# entries -> [Pathname] (19.0) -
self に含まれるファイルエントリ名を元にした Pathname オブジェクトの配列を返します。
self に含まれるファイルエントリ名を元にした Pathname オブジェクトの配列を返します。
@raise Errno::EXXX self が存在しないパスであったりディレクトリでなければ例外が発生します。
//emlist[例][ruby]{
require 'pathname'
require 'pp'
pp Pathname('/usr/local').entries
# => [#<Pathname:.>,
# #<Pathname:..>,
# #<Pathname:bin>,
# #<Pathname:etc>,
# #<Pathnam... -
Pathname
# fnmatch(pattern , *args) -> bool (19.0) -
File.fnmatch(pattern, self.to_s, *args) と同じです。
File.fnmatch(pattern, self.to_s, *args) と同じです。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*', `?', `[]' が使用できま
す。Dir.glob とは違って `{}' や `**/' は使用できません。
@param args File.fnmatch を参照してください。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
path.fnmatch("test*") ... -
Pathname
# fnmatch?(pattern , *args) -> bool (19.0) -
File.fnmatch?(pattern, self.to_s, *args) と同じです。
File.fnmatch?(pattern, self.to_s, *args) と同じです。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*', `?', `[]' が使用できま
す。Dir.glob とは違って `{}' や `**/' は使用できません。
@param args File.fnmatch を参照してください。
@see File.fnmatch? -
Rake
:: PackageTask . new(name = nil , version = nil) {|t| . . . } -> Rake :: PackageTask (19.0) -
自身を初期化してタスクを定義します。
自身を初期化してタスクを定義します。
ブロックが与えられた場合は、自身をブロックパラメータとして
ブロックを評価します。
@param name パッケージ名を指定します。
@param version パッケージのバージョンを指定します。
':noversion' というシンボルを指定するとバージョン情報をセットしません。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |packa... -
ReFe (19.0)
-
ReFe ReFeについては http://i.loveruby.net/ja/prog/refe.html をご覧ください。
ReFe
ReFeについては
http://i.loveruby.net/ja/prog/refe.html
をご覧ください。
=== Gems版
Gemsをお使いの方は、以下のコマンドを実行する事でインストールできます。
(41478)
$ gem install refe2
以下のコマンドでデータベースを構築します。
$ bitclust setup
=== Ruby リファレンスマニュアルの検索ツール ReFe のデータ構築について
最新 Ruby リファレンスマニュアル用に ReFe のデータを構築するには以下の
手順で行います。(詳細は ReFe の RE... -
drb
/ extservm (19.0) -
DRb::ExtServManager を定義しているライブラリ。
DRb::ExtServManager を定義しているライブラリ。
DRb::ExtServManager は drb で実現されたサービスブローカーです。
個々のサービスは drb/extserv で定義されている
DRb::ExtServ を用いて実装します。
DRb::ExtServManager
はクライアントの要求に応じて個々のサービスを
サブプロセスとして起動し、各サービスを表す DRb::ExtServ オブジェクト
をリモートオブジェクトとしてクライアントに渡します。
このライブラリは簡易的なもので、あまりメンテナンスもされていないので、
本格的な用途にはこのライブラリを参... -
rake
/ gempackagetask (19.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem パッケージだけでなく zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。
以下のタスクを定義します。
: PACKAGE_DIR/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summa... -
rdoc
/ generator / json _ index (19.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ
クスを生成するサブライブラリです。
This generator is derived from sdoc by Vladimir Kolesnikov and
contains verbatim code written by him.
このジェネレータは HTML ジェネレータと一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options
# ...
@base_dir = Pa... -
rubygems
/ commands / contents _ command (19.0) -
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
Usage: gem contents GEMNAME [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem パッケージの内容を表示します
-s, --spec-dir a,b,c 指定されたパス以下にある Gem パッケージを検索します
-l, --[no-]lib-only Gem パッケージの lib ディ... -
rubygems
/ commands / generate _ index _ command (19.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
ある Gem サーバに対するインデックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
... -
un (19.0)
-
Unix の基本コマンドの代替となるユーティリティ。
Unix の基本コマンドの代替となるユーティリティ。
Makefile 内でシステムに依存しないように用意されました。
mkmf が使用します。
Windows などワイルドカードを認識しないシステム(シェル)のために引数は
unがワイルドカード展開(Dir.glob参照)します(Unix ではシェ
ルとunにより二重にワイルドカード展開されます)。
=== 使い方:
ruby -run -e cp -- [-prv] SOURCE DEST
ruby -run -e ln -- [-sfv] TARGET LINK_NAME
ruby -run -e mv -- [... -
このマニュアルのヘルプ (19.0)
-
このマニュアルのヘルプ === 記号の説明
このマニュアルのヘルプ
=== 記号の説明
: size -> Integer の「-> Integer」って何?
size メソッドは整数を返すという意味です。
: Kernel.#require の .# って何?
「.#」はモジュール関数であることを表します。「Kernel.#require」は
「Kernel のモジュール関数である require 」という意味です。
: String#size の # って何?
「#」はインスタンスメソッドであることを表します。
: Dir.chdir の . って何?
「.」はクラスメソッドであることを表します。
:... -
セキュリティモデル (19.0)
-
セキュリティモデル RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ 機構が備わっています。
セキュリティモデル
RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ
機構が備わっています。
Rubyのセキュリティモデルは「オブジェクトの汚染」と「セーフレベル」という
仕組みによってなりたっています。
=== オブジェクトの汚染
Rubyではオブジェクトは「汚染されている」とみなされることがあります。この
しくみは大きく分けて二つの使われ方をします。
ひとつ目は、信用できない入力をもとに作られたオブジェクトを「汚染されてい
る」とみなし、「危険な操作」の引数として使えないようにすることです。悪意
あるデータによって、プログラムが意図しない動作をする事...