Sha256: 2e23b510cb7ee3f32f50fd3b23b585764f05aabf7c7a0a30f2a1c5b951d1560a

Contents?: true

Size: 547 Bytes

Versions: 5

Compression:

Stored size: 547 Bytes

Contents

module JenkinsJob
  module BuildStep
    class Ant < BasicObject
      attr_reader :targets_, :buildfile_, :properties_, :java_opts_

      def initialize
        @targets_ = []
        @properties_ = {}
        @java_opts_ = []
      end

      def target(*value)
        @targets_ = value
      end

      def buildfile(value)
        @buildfile_ = value
      end

      def property(value)
        @properties_ = value
      end

      def java_opts(*value)
        @java_opts_ = value
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubyjobbuilderdsl-0.0.5 lib/rubyjobbuilderdsl/buildstep/ant.rb
rubyjobbuilderdsl-0.0.3 lib/rubyjobbuilderdsl/buildstep/ant.rb
rubyjobbuilderdsl-0.0.2 lib/rubyjobbuilderdsl/buildstep/ant.rb
rubyjobbuilderdsl-0.0.1 lib/rubyjobbuilderdsl/buildstep/ant.rb
rubyjobbuilderdsl-0.0.0 lib/rubyjobbuilderdsl/buildstep/ant.rb