33件ヒット
[1-33件を表示]
(0.120秒)
ライブラリ
- pathname (11)
-
rdoc
/ code _ object (22)
クラス
- Pathname (11)
-
RDoc
:: CodeObject (22)
キーワード
-
parent
_ file _ name (11) -
parent
_ name (11)
検索結果
先頭3件
-
Pathname
# parent -> Pathname (21244.0) -
self の親ディレクトリを指す新しい Pathname オブジェクトを返します。
...い 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>
path.parent.parent # => #<Pathname:.>
path.parent.parent.parent # => #<Pathname:..>
//}... -
RDoc
:: CodeObject # parent _ file _ name -> String (12225.0) -
self.parent のファイル名を返します。
...self.parent のファイル名を返します。
@see RDoc::CodeObject#parent... -
RDoc
:: CodeObject # parent _ name -> String (12225.0) -
self.parent の名前を返します。
...self.parent の名前を返します。
@see RDoc::CodeObject#parent...