Project

General

Profile

« Previous | Next » 

Revision 8be9bd48

Added by naruse (Yui NARUSE) over 8 years ago

merge revision(s) 57972: [Backport #13198]

    Fix bug of Tempfile#size if nothing is written [Bug #13198]

    * lib/tempfile.rb (Tempfile#size): Fix its behavior when nothing
      is written. Tempfile#size should return 0 in this case.
      The patch is from nobu <[email protected]>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e