Document OS::Mac
and OS::Linux
.
This commit is contained in:
parent
c43407f40e
commit
5410701eff
@ -1,6 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module OS
|
module OS
|
||||||
|
# Helper module for querying system information on Linux.
|
||||||
module Linux
|
module Linux
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
@ -21,7 +22,7 @@ module OS
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Define OS::Mac on Linux for formula API compatibility.
|
# rubocop:disable Style/Documentation
|
||||||
module Mac
|
module Mac
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
@ -77,4 +78,5 @@ module OS
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
# rubocop:enable Style/Documentation
|
||||||
end
|
end
|
||||||
|
@ -7,6 +7,7 @@ require "os/mac/sdk"
|
|||||||
require "os/mac/keg"
|
require "os/mac/keg"
|
||||||
|
|
||||||
module OS
|
module OS
|
||||||
|
# Helper module for querying system information on macOS.
|
||||||
module Mac
|
module Mac
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user