11 lines
184 B
Ruby
Raw Normal View History

2021-09-11 01:00:23 +01:00
# typed: strict
# frozen_string_literal: true
module OnOS
def on_linux(&block)
2021-09-11 01:00:23 +01:00
raise "No block content defined for 'on_linux' block" unless T.unsafe(block)
yield
end
end