We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a5d7b commit 951cdbbCopy full SHA for 951cdbb
lib/cldr/download.rb
@@ -23,7 +23,7 @@ def download(source = DEFAULT_SOURCE, target = DEFAULT_TARGET, version = DEFAULT
23
path = File.join(target, entry.name)
24
FileUtils.mkdir_p(File.dirname(path))
25
file.extract(entry, path)
26
- yield path
+ yield path if block_given?
27
end
28
29
0 commit comments