Class: ComposableOperations::Matcher::UtilizeOperation::DummyOperation
- Inherits:
-
Object
- Object
- ComposableOperations::Matcher::UtilizeOperation::DummyOperation
- Defined in:
- lib/composable_operations/matcher/utilize_operation.rb
Instance Method Summary collapse
- #failed? ⇒ Boolean
- #halted? ⇒ Boolean
-
#initialize(*args) ⇒ DummyOperation
constructor
A new instance of DummyOperation.
- #perform ⇒ Object
- #result ⇒ Object
- #succeeded? ⇒ Boolean
Constructor Details
#initialize(*args) ⇒ DummyOperation
Returns a new instance of DummyOperation.
6 7 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 6 def initialize(*args) end |
Instance Method Details
#failed? ⇒ Boolean
9 10 11 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 9 def failed? false end |
#halted? ⇒ Boolean
13 14 15 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 13 def halted? false end |
#perform ⇒ Object
25 26 27 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 25 def perform result end |
#result ⇒ Object
21 22 23 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 21 def result Object.new end |
#succeeded? ⇒ Boolean
17 18 19 |
# File 'lib/composable_operations/matcher/utilize_operation.rb', line 17 def succeeded? true end |