Sha256: 99011e27c9c156cb2766ded1384ebe7032304589fa64972a0fbf1d395da1db24

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

module JenkinsJob
  module Common
    class Scms < BasicObject
      attr_reader :scms_

      def initialize
        @scms_ = []
      end

      def git(&block)
        git = Git.new
        git.instance_eval(&block)

        @scms_ << git
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/common/scms.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/common/scms.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/common/scms.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/common/scms.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/common/scms.rb