Class: Solid::Output::Expectations

Inherits:
Result::Expectations show all
Defined in:
lib/solid/output/expectations.rb

Defined Under Namespace

Modules: Mixin

Instance Method Summary collapse

Methods inherited from Result::Expectations

#initialize, mixin, new, #with

Constructor Details

This class inherits a constructor from Solid::Result::Expectations

Instance Method Details

#Failure(type, **value) ⇒ Object



21
22
23
# File 'lib/solid/output/expectations.rb', line 21

def Failure(type, **value)
  _ResultAs(Failure, type, value)
end

#Success(type, **value) ⇒ Object



17
18
19
# File 'lib/solid/output/expectations.rb', line 17

def Success(type, **value)
  _ResultAs(Success, type, value)
end