77件ヒット
[1-77件を表示]
(0.074秒)
種類
- インスタンスメソッド (55)
- ライブラリ (11)
- 特異メソッド (11)
ライブラリ
- ビルトイン (11)
-
irb
/ input-method (11) -
rdoc
/ code _ object (11) -
rubygems
/ config _ file (11) -
rubygems
/ installer (11) -
rubygems
/ specification (11)
クラス
- File (11)
-
Gem
:: ConfigFile (11) -
Gem
:: Installer (11) -
Gem
:: Specification (11) -
IRB
:: InputMethod (11) -
RDoc
:: CodeObject (11)
キーワード
-
absolute
_ path (11) -
config
_ file _ name (11) - irb (11)
-
parent
_ file _ name (11) - shebang (11)
検索結果
先頭5件
-
Gem
:: Specification # file _ name -> String (18202.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
IRB
:: InputMethod # file _ name -> String (18202.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
Gem
:: ConfigFile # config _ file _ name -> String (6202.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
RDoc
:: CodeObject # parent _ file _ name -> String (6202.0) -
self.parent のファイル名を返します。
self.parent のファイル名を返します。
@see RDoc::CodeObject#parent -
File
. absolute _ path(file _ name , dir _ string=nil) -> String (331.0) -
file_name を絶対パスに変換した文字列を返します。
...
file_name を絶対パスに変換した文字列を返します。
相対パスの場合はカレントディレクトリを基準とします。
dir_string を渡した場合はそのディレクトリを基準とします。
File.expand_path と異なり、 file_name 先頭が "~" である場... -
Gem
:: Installer # shebang(bin _ file _ name) -> String (208.0) -
実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。
...実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。
@param bin_file_name 実行ファイルの名前を指定します。... -
irb (24.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...マンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d......れます。
: help(*names)
: irb_help(*names)
RI から Ruby のドキュメントを参照します。
//emlist{
irb(main):001:0> help String#match
...
//}
names を指定しなかった場合は、RI を対話的なモードで起動します。メソッ
ド名などを入力す......irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern)......マンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w...