Sha256: 458ec01579a95080bd5245ec0625fb2030413e867cd8f26006ed5056960848e2

Contents?: true

Size: 333 Bytes

Versions: 48

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

module Buildkite
  module Pipelines
    class StepContext
      attr_reader :step
      attr_reader :args
      attr_reader :data

      def initialize(step, **args)
        @step = step
        @args = args
        @data = {}
      end

      def [](key)
        args[key]
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
buildkite-builder-4.1.1 lib/buildkite/pipelines/step_context.rb
buildkite-builder-4.1.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-4.0.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.9.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.8.3 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.8.2 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.8.1 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.8.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.7.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.6.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.5.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.4.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.3.2 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.3.1 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.3.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.2.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.1.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-3.0.0 lib/buildkite/pipelines/step_context.rb
buildkite-builder-2.4.1 lib/buildkite/pipelines/step_context.rb
buildkite-builder-2.4.0 lib/buildkite/pipelines/step_context.rb