3件ヒット
[1-3件を表示]
(0.109秒)
ライブラリ
- pathname (1)
-
rdoc
/ code _ object (2)
クラス
- Pathname (1)
-
RDoc
:: CodeObject (2)
キーワード
-
parent
_ file _ name (1) -
parent
_ name (1)
検索結果
先頭3件
-
Pathname
# parent -> Pathname (63733.0) -
self の親ディレクトリを指す新しい Pathname オブジェクトを返します。
self の親ディレクトリを指す新しい Pathname オブジェクトを返します。
//emlist[例 絶対パス][ruby]{
require "pathname"
path = Pathname("/usr")
path # => #<Pathname:/usr>
path.parent # => #<Pathname:/>
//}
//emlist[例 相対パス][ruby]{
require "pathname"
path = Pathname("foo/bar")
path.parent # => #<Pathname:foo>
p... -
RDoc
:: CodeObject # parent _ file _ name -> String (36676.0) -
self.parent のファイル名を返します。
self.parent のファイル名を返します。
@see RDoc::CodeObject#parent -
RDoc
:: CodeObject # parent _ name -> String (36676.0) -
self.parent の名前を返します。
self.parent の名前を返します。
@see RDoc::CodeObject#parent