Document OS::Mac and OS::Linux.

This commit is contained in:
Markus Reiter 2020-08-26 03:06:19 +02:00
parent c43407f40e
commit 5410701eff
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true
module OS
# Helper module for querying system information on Linux.
module Linux
module_function
@ -21,7 +22,7 @@ module OS
end
end
# Define OS::Mac on Linux for formula API compatibility.
# rubocop:disable Style/Documentation
module Mac
module_function
@ -77,4 +78,5 @@ module OS
end
end
end
# rubocop:enable Style/Documentation
end

View File

@ -7,6 +7,7 @@ require "os/mac/sdk"
require "os/mac/keg"
module OS
# Helper module for querying system information on macOS.
module Mac
module_function