Sha256: cf61908ae7feffbd05b5fe3885f1c6105c1070a8f3f3996206da73cdd3c4873b
Contents?: true
Size: 534 Bytes
Versions: 6
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module Buildkite module Pipelines module Steps class Abstract include Attributes attr_reader :pipeline attr_reader :template def self.to_sym name.split('::').last.downcase.to_sym end def initialize(pipeline, template = nil, &block) @pipeline = pipeline @template = template instance_eval(&template) if template instance_eval(&block) if block_given? end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems