lib/buildkite/builder/extension.rb in buildkite-builder-3.7.0 vs lib/buildkite/builder/extension.rb in buildkite-builder-3.8.0
- old
+ new
@@ -12,13 +12,15 @@
end
end
attr_reader :context
attr_reader :options
+ attr_reader :option_block
- def initialize(context, **options)
+ def initialize(context, **options, &block)
@context = context
@options = options
+ @option_block = block
prepare
end
def build