Class: JenkinsJob::BuildStep::Batch
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/buildstep/shell.rb
Instance Attribute Summary collapse
-
#cmd_ ⇒ Object
readonly
Returns the value of attribute cmd_.
Instance Method Summary collapse
-
#initialize(cmd) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(cmd) ⇒ Batch
12 13 14 |
# File 'lib/rubyjobbuilderdsl/buildstep/shell.rb', line 12 def initialize(cmd) @cmd_ = cmd end |
Instance Attribute Details
#cmd_ ⇒ Object (readonly)
Returns the value of attribute cmd_.
11 12 13 |
# File 'lib/rubyjobbuilderdsl/buildstep/shell.rb', line 11 def cmd_ @cmd_ end |