17件ヒット
[1-17件を表示]
(0.029秒)
検索結果
-
Pathname
# parent -> Pathname (39314.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:..>
//}... -
NEWS for Ruby 2
. 6 . 0 (48.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...上の空白が "-" の前に必要でした
* "/child::node()" の問題
* "#{FUNCTION}()/#{PATH}" の問題
* "@#{ATTRIBUTE}/parent::" の問題
* "name(#{NODE_SET})" の問題
* RSS
* 新規オプション
* RSS::Parser.parse が Hash としてオプション......りました。
* BigDecimal.new はバージョン 2.0 で削除予定です。
* Pathname
* Pathname#read, Pathname#binread, Pathname#write,
Pathname#binwrite, Pathname#each_line, Pathname#readlines は
パスがパイプ文字 '|' で始まっていても外部コマンド...