Skip to content
Snippets Groups Projects
Commit 5410701e authored by Markus Reiter's avatar Markus Reiter
Browse files

Document `OS::Mac` and `OS::Linux`.

parent c43407f4
No related branches found
No related tags found
No related merge requests found
# 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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment