Class: ComposableOperations::Matcher::Execution::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/composable_operations/matcher/execution.rb

Direct Known Subclasses

FailToPerform, SucceedToPerform

Instance Method Summary collapse

Instance Method Details

#and_return(result) ⇒ Object



7
8
9
10
# File 'lib/composable_operations/matcher/execution.rb', line 7

def and_return(result)
  @result = result
  self
end

#when_initialized_with(*input) ⇒ Object



12
13
14
15
# File 'lib/composable_operations/matcher/execution.rb', line 12

def when_initialized_with(*input)
  @input = input
  self
end