Class: JenkinsJob::BuildStep::Shell
- 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) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(cmd) ⇒ Shell
Returns a new instance of Shell.
5 6 7 |
# File 'lib/rubyjobbuilderdsl/buildstep/shell.rb', line 5 def initialize(cmd) @cmd_ = cmd end |
Instance Attribute Details
#cmd_ ⇒ Object (readonly)
Returns the value of attribute cmd_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/buildstep/shell.rb', line 4 def cmd_ @cmd_ end |