284件ヒット
[1-100件を表示]
(0.130秒)
種類
- 特異メソッド (152)
- インスタンスメソッド (110)
- ライブラリ (11)
- 定数 (11)
ライブラリ
- ビルトイン (45)
-
irb
/ cmd / load (33) -
irb
/ input-method (33) - rake (11)
-
rdoc
/ code _ object (11) -
rdoc
/ parser (22) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ top _ level (11) -
rubygems
/ config _ file (22) -
rubygems
/ installer (11) -
rubygems
/ source _ index (11) -
rubygems
/ specification (11) -
yaml
/ store (19)
クラス
- Dir (20)
- File (25)
-
Gem
:: ConfigFile (22) -
Gem
:: Installer (11) -
Gem
:: SourceIndex (11) -
Gem
:: Specification (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: InputMethod (22) -
RDoc
:: CodeObject (11) -
RDoc
:: Parser (22) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (11) -
YAML
:: Store (19)
モジュール
- IRB (11)
キーワード
-
STDIN
_ FILE _ NAME (11) -
absolute
_ path (11) -
absolute
_ path? (5) -
can
_ parse (11) -
config
_ file _ name (11) -
excluded
_ from _ list? (11) - execute (33)
- exist? (11)
- exists? (9)
- irb (11)
-
load
_ file (11) -
load
_ specification (11) - mkfifo (9)
- new (74)
-
parent
_ file _ name (11) -
parser
_ for (11) - shebang (11)
検索結果
先頭5件
-
irb (26318.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......readline ライブラリにも対応しています。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts......ptions:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r......options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r と同じ
-I ruby -I と同じ
-U... -
Gem
:: Specification # file _ name -> String (24301.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
IRB
:: InputMethod # file _ name -> String (24301.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
Gem
:: ConfigFile # config _ file _ name -> String (15301.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
IRB
:: STDIN _ FILE _ NAME -> "(line)" (12401.0) -
標準入力を使用する際のファイル名を文字列で返します。
標準入力を使用する際のファイル名を文字列で返します。 -
RDoc
:: CodeObject # parent _ file _ name -> String (12301.0) -
self.parent のファイル名を返します。
self.parent のファイル名を返します。
@see RDoc::CodeObject#parent -
Gem
:: ConfigFile # load _ file(file _ name) -> object (6407.0) -
与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
...与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
@param file_name YAML 形式で記述された設定ファイル名を指定します。... -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (6407.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
...形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発... -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (6335.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
...イル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。require......に成功した場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。... -
Dir
. exist?(file _ name) -> bool (6323.0) -
file_name で与えられたディレクトリが存在する場合に真を返します。 そうでない場合は、偽を返します。
...
file_name で与えられたディレクトリが存在する場合に真を返します。
そうでない場合は、偽を返します。
@param file_name 存在を確認したいディレクトリ名。
//emlist[例][ruby]{
Dir.exist?(".") # => true
File.directory?(".") # => true
//}
@s......ee File.directory?...