1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/pathname
akr 53a5b276b8 Use File class methods to avoid pipe execution
Following methods use corresponding File class methods
instead of IO class methods.

- Pathname#each_line
- Pathname#read
- Pathname#binread
- Pathname#write
- Pathname#binwrite
- Pathname#readlines

Reported by ooooooo_q.





git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 05:07:49 +00:00
..
lib Pathname: Have #relative_path_from accept String argument. 2018-11-13 06:20:06 +00:00
depend ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
extconf.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
pathname.c Use File class methods to avoid pipe execution 2018-12-12 05:07:49 +00:00