Class: OpsWalrus::Invocation::Success
- Defined in:
- lib/opswalrus/ops_file_script_dsl.rb
Instance Attribute Summary
Attributes inherited from Result
Instance Method Summary collapse
-
#initialize(value) ⇒ Success
constructor
A new instance of Success.
- #success? ⇒ Boolean
Methods inherited from Result
Constructor Details
#initialize(value) ⇒ Success
Returns a new instance of Success.
32 33 34 |
# File 'lib/opswalrus/ops_file_script_dsl.rb', line 32 def initialize(value) super(value, 0) end |
Instance Method Details
#success? ⇒ Boolean
35 36 37 |
# File 'lib/opswalrus/ops_file_script_dsl.rb', line 35 def success? true end |