backports 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +1 -1
- data/VERSION.yml +1 -1
- data/backports.gemspec +1 -1
- data/lib/backports/1.8.7/dir.rb +1 -1
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
data/VERSION.yml
CHANGED
data/backports.gemspec
CHANGED
data/lib/backports/1.8.7/dir.rb
CHANGED
|
@@ -4,7 +4,7 @@ class Dir
|
|
|
4
4
|
Backports.make_block_optional self, :foreach, :test_on => Dir, :arg => "."
|
|
5
5
|
|
|
6
6
|
def mktmpdir(prefix_suffix=nil, tmpdir=nil)
|
|
7
|
-
raise NoMethodError, "undefined method `mktmpdir' for Dir:Class; you must require 'tmpdir'" unless
|
|
7
|
+
raise NoMethodError, "undefined method `mktmpdir' for Dir:Class; you must require 'tmpdir'" unless method_defined? :tmpdir
|
|
8
8
|
|
|
9
9
|
case prefix_suffix
|
|
10
10
|
when nil
|