ruby-changes:52699
From: stomar <ko1@a...>
Date: Thu, 4 Oct 2018 04:19:40 +0900 (JST)
Subject: [ruby-changes:52699] stomar:r64911 (trunk): fileutils.rb: restore documentation for FileUtils
stomar 2018-10-04 04:19:33 +0900 (Thu, 04 Oct 2018) New Revision: 64911 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64911 Log: fileutils.rb: restore documentation for FileUtils * lib/fileutils.rb: [DOC] restore documentation for FileUtils module which became undocumented with r63430. Modified files: trunk/lib/fileutils.rb Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 64910) +++ lib/fileutils.rb (revision 64911) @@ -1,5 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L1 # frozen_string_literal: true -# + +begin + require 'rbconfig' +rescue LoadError + # for make mjit-headers +end + # = fileutils.rb # # Copyright (c) 2000-2007 Minero Aoki @@ -83,13 +89,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L89 # This module has all methods of FileUtils module, but never changes # files/directories. This equates to passing the <tt>:noop</tt> and # <tt>:verbose</tt> flags to methods in FileUtils. -# - -begin - require 'rbconfig' -rescue LoadError - # for make mjit-headers -end module FileUtils -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/