From: "Eregon (Benoit Daloze)" Date: 2012-11-17T21:46:38+09:00 Subject: [ruby-core:49491] [ruby-trunk - Feature #7378] Adding Pathname#write Issue #7378 has been updated by Eregon (Benoit Daloze). Hello, Your feature requests sound very logical to me, and I actually made a path manipulation library called "Path" [1] Notably, #write, #glob and #touch are already implemented as you propose and #start_with? functionality is implemented by #inside?. I would love to see @akr's opinion on this and to have a path manipulation class in core with these additions and others which are present in Path and other libraries. [1] https://github.com/eregon/path ---------------------------------------- Feature #7378: Adding Pathname#write https://bugs.ruby-lang.org/issues/7378#change-33023 Author: aef (Alexander E. Fischer) Status: Open Priority: Normal Assignee: akr (Akira Tanaka) Category: lib Target version: There should be a variant of File.write for Pathname. I will provide a patch if this is acceptable. (Please see my other Pathname related tickets too: #7360 #7361 #7362 #7363 ) -- http://bugs.ruby-lang.org/