From 61a89701ddec475b85952b05b19ec02e572384c2 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 26 Mar 2018 12:33:32 +0200 Subject: [PATCH] document tmpname.dir inch ci doesn't properly handle the module as a whole being marked private and makes a stink about the documentation. no bad idea to have good docs for internal api anyway, so just document it --- lib/aptly/tmpname.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/aptly/tmpname.rb b/lib/aptly/tmpname.rb index f03ad75..bcad851 100644 --- a/lib/aptly/tmpname.rb +++ b/lib/aptly/tmpname.rb @@ -18,6 +18,8 @@ module Aptly # Helper to generate temporary names module TmpName + # Generate a random temporary directory name. + # @param prefix [String] arbitrary prefix string to start the name with # @return [String] temporary directory name (only safe characters) def self.dir(prefix) format('%s-%