mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
11 lines
172 B
Ruby
11 lines
172 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
module OnOS
|
|
def on_linux(&block)
|
|
raise "No block content defined for 'on_linux' block" unless block
|
|
|
|
yield
|
|
end
|
|
end
|