ライブラリ
- ビルトイン (55)
- mkmf (33)
- pathname (11)
- rbconfig (22)
-
rdoc
/ text (22) -
rexml
/ document (44) - shell (6)
-
shell
/ command-processor (6) -
win32
/ registry (187)
クラス
- Dir (22)
- File (22)
- Pathname (11)
-
REXML
:: Document (22) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Win32
:: Registry (33)
モジュール
- Kernel (44)
-
RDoc
:: Text (22) -
REXML
:: Namespace (22) - RbConfig (22)
-
Win32
:: Registry :: Constants (154)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - DOSISH 対応 (11)
-
MAKEFILE
_ CONFIG (11) -
REG
_ BINARY (11) -
REG
_ DWORD (11) -
REG
_ DWORD _ BIG _ ENDIAN (11) -
REG
_ DWORD _ LITTLE _ ENDIAN (11) -
REG
_ EXPAND _ SZ (11) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (11) -
REG
_ LINK (11) -
REG
_ MULTI _ SZ (11) -
REG
_ NONE (11) -
REG
_ QWORD (11) -
REG
_ QWORD _ LITTLE _ ENDIAN (11) -
REG
_ RESOURCE _ LIST (11) -
REG
_ RESOURCE _ REQUIREMENTS _ LIST (11) -
REG
_ SZ (11) -
absolute
_ path (11) -
cc
_ command (11) -
cpp
_ command (11) - home (22)
-
link
_ command (11) - name (11)
-
normalize
_ comment (11) -
rdoc
/ generator / json _ index (11) - read (11)
-
require
_ relative (11) -
ruby 1
. 6 feature (11) - 変数と定数 (11)
検索結果
先頭5件
-
RbConfig
. expand(val , config = CONFIG) -> String (18107.0) -
与えられたパスを展開します。
...与えられたパスを展開します。
RbConfig.expand("$(bindir)") # => /home/foobar/all-ruby/ruby19x/bin
@param val 展開したい変数名を Makefile に書く形式で指定します。
@param config 変数展開に使用する設定を Hash で指定します。
@see RbConfig::MA... -
Pathname
# expand _ path(default _ dir = & # 39; . & # 39;) -> Pathname (6135.0) -
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
....new(File.expand_path(self.to_s, *args)) と同じです。
@param default_dir self が相対パスであれば default_dir を基準に展開されます。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
Pathname.pwd # => #<Pathname:/path/to>
path.expand_path......# => #<Pathname:/path/to/testfile>
path.expand_path("../") # => #<Pathname:/path/testfile>
//}
@see File.expand_path... -
File
. expand _ path(path , default _ dir = & # 39; . & # 39;) -> String (6125.0) -
path を絶対パスに展開した文字列を返します。 path が相対パスであれば default_dir を基準にします。
...e/matz/work/foo"
p ENV["HOME"] #=> "/home/matz"
p File.expand_path("..") #=> "/home/matz/work"
p File.expand_path("..", "/tmp") #=> "/"
p File.expand_path("~") #=> "/home/matz"
p File.expand_path("~foo") #=> "/home/foo"
//}
@param path パスを表す文字... -
Win32
:: Registry # read _ s _ expand(name) (6119.0) -
@todo
...@todo
型が REG_SZ または REG_EXPAND_SZ であるレジストリ値 name を読み,
その値を返します。
型が REG_EXPAND_SZ だった場合,環境変数が置換された値が返ります。
REG_SZ または REG_EXPAND_SZ 以外だった場合,TypeError が発生します。... -
Shell
# expand _ path(path) -> String (6107.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
:: CommandProcessor # expand _ path(path) -> String (6107.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Win32
:: Registry . expand _ environ(str) (6107.0) -
@todo
...@todo
str の %\w+% という並びを環境変数に置換します。
REG_EXPAND_SZ で用いられます。
詳細は以下の Win32 API を参照してください。
* ExpandEnvironmentStrings: http://msdn.microsoft.com/library/en-us/sysinfo/base/expandenvironmentstrings.asp... -
RDoc
:: Text # expand _ tabs(text) -> String (6101.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
REXML
:: Document # expanded _ name -> String (6100.0) -
""(空文字列)を返します。
...""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。... -
REXML
:: Namespace # expanded _ name -> String (6100.0) -
REXML::Namespace#name= で設定された名前を返します。
REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix