Inline utils.rbi.

This commit is contained in:
Markus Reiter 2020-10-10 15:53:33 +02:00
parent 059122c724
commit e20c982d1a
4 changed files with 6 additions and 20 deletions

View File

@ -1,20 +0,0 @@
# typed: strict
module Utils
include Kernel
module Bottles
end
module Link
include Kernel
end
module Shebang
include Kernel
end
module Tar
include Kernel
end
end

View File

@ -6,6 +6,8 @@ module Utils
# #
# @api private # @api private
module Link module Link
include Kernel
module_function module_function
def link_src_dst_dirs(src_dir, dst_dir, command, link_dir: false) def link_src_dst_dirs(src_dir, dst_dir, command, link_dir: false)

View File

@ -6,6 +6,8 @@ module Utils
# #
# @api private # @api private
module Shebang module Shebang
include Kernel
module_function module_function
# Specification on how to rewrite a given shebang. # Specification on how to rewrite a given shebang.

View File

@ -6,6 +6,8 @@ module Utils
# #
# @api private # @api private
module Tar module Tar
include Kernel
module_function module_function
TAR_FILE_EXTENSIONS = %w[.tar .tb2 .tbz .tbz2 .tgz .tlz .txz .tZ].freeze TAR_FILE_EXTENSIONS = %w[.tar .tb2 .tbz .tbz2 .tgz .tlz .txz .tZ].freeze