Sha256: 3c1fb65f0f7d6da4e203edb93ad6b01730c633510b220e3dd780b7593de034d2

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

module JenkinsJob
  module Common
    class Parameter < BasicObject
      attr_reader :name, :default_, :description_

      def initialize(name)
        @name = name
      end

      def default(value)
        @default_ = value
      end

      def description(value)
        @description_ = value
      end
    end

    class PasswordParameter < Parameter
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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