brew/Library/Homebrew/linux_runner_spec.rb

33 lines
584 B
Ruby
Raw Normal View History

# typed: strict
# frozen_string_literal: true
class LinuxRunnerSpec < T::Struct
const :name, String
const :runner, String
const :container, T::Hash[Symbol, String]
const :workdir, String
const :timeout, Integer
const :cleanup, T::Boolean
sig {
returns({
name: String,
runner: String,
container: T::Hash[Symbol, String],
workdir: String,
timeout: Integer,
cleanup: T::Boolean,
})
}
def to_h
{
2024-03-07 16:20:20 +00:00
name:,
runner:,
container:,
workdir:,
timeout:,
cleanup:,
}
end
end