ライブラリ
- ビルトイン (60)
- mkmf (36)
- pathname (12)
- rbconfig (24)
-
rdoc
/ text (24) -
rexml
/ document (48) - shell (6)
-
shell
/ command-processor (6) -
win32
/ registry (204)
クラス
- Dir (24)
- File (24)
- Pathname (12)
-
REXML
:: Document (24) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Win32
:: Registry (36)
モジュール
- Kernel (48)
-
RDoc
:: Text (24) -
REXML
:: Namespace (24) - RbConfig (24)
-
Win32
:: Registry :: Constants (168)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - DOSISH 対応 (12)
-
MAKEFILE
_ CONFIG (12) -
REG
_ BINARY (12) -
REG
_ DWORD (12) -
REG
_ DWORD _ BIG _ ENDIAN (12) -
REG
_ DWORD _ LITTLE _ ENDIAN (12) -
REG
_ EXPAND _ SZ (12) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (12) -
REG
_ LINK (12) -
REG
_ MULTI _ SZ (12) -
REG
_ NONE (12) -
REG
_ QWORD (12) -
REG
_ QWORD _ LITTLE _ ENDIAN (12) -
REG
_ RESOURCE _ LIST (12) -
REG
_ RESOURCE _ REQUIREMENTS _ LIST (12) -
REG
_ SZ (12) -
absolute
_ path (12) -
cc
_ command (12) -
cpp
_ command (12) - home (24)
-
link
_ command (12) - name (12)
-
normalize
_ comment (12) -
rdoc
/ generator / json _ index (12) - read (12)
-
require
_ relative (12) -
ruby 1
. 6 feature (12) - 変数と定数 (12)
検索結果
先頭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