9件ヒット
[1-9件を表示]
(0.044秒)
種類
- インスタンスメソッド (7)
- 特異メソッド (2)
クラス
- File (1)
- Shell (1)
-
Shell
:: CommandProcessor (1)
モジュール
- Kernel (3)
-
RDoc
:: Text (2) - RbConfig (1)
キーワード
-
cc
_ command (1) -
cpp
_ command (1) -
link
_ command (1) -
normalize
_ comment (1)
検索結果
先頭5件
-
RbConfig
. expand(val , config = CONFIG) -> String (54661.0) -
与えられたパスを展開します。
与えられたパスを展開します。
RbConfig.expand("$(bindir)") # => /home/foobar/all-ruby/ruby19x/bin
@param val 展開したい変数名を Makefile に書く形式で指定します。
@param config 変数展開に使用する設定を Hash で指定します。
@see RbConfig::MAKEFILE_CONFIG -
File
. expand _ path(path , default _ dir = & # 39; . & # 39;) -> String (18715.0) -
path を絶対パスに展開した文字列を返します。 path が相対パスであれば default_dir を基準にします。
path を絶対パスに展開した文字列を返します。
path が相対パスであれば default_dir を基準にします。
先頭の ~ はホームディレクトリ(環境変数 HOME が使われます)に、
~USER はそのユーザのホームディレクトリに展開されます。
//emlist[例][ruby]{
p Dir.getwd #=> "/home/matz/work/foo"
p ENV["HOME"] #=> "/home/matz"
p File.expand_path("..") #=> "/h... -
Shell
# expand _ path(path) -> String (18643.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path -
Shell
:: CommandProcessor # expand _ path(path) -> String (18643.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path -
RDoc
:: Text # expand _ tabs(text) -> String (18625.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
Kernel
# link _ command(ldflags , opt = "" , libpath = $ DEFLIBPATH| $ LIBPATH) -> String (376.0) -
実際にリンクする際に使用するコマンドを返します。
実際にリンクする際に使用するコマンドを返します。
@param ldflags LDFLAGS に追加する値を指定します。
@param opt LIBS に追加する値を指定します。
@param libpath LIBPATH に指定する値を指定します。
@see RbConfig.expand -
Kernel
# cpp _ command(outfile , opt = "") -> String (358.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# cc _ command(opt = "") -> String (340.0) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
RDoc
:: Text # normalize _ comment(text) -> String (340.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines