Module: Solid::Output::Mixin::Methods

Defined in:
lib/solid/output/mixin.rb

Instance Method Summary collapse

Instance Method Details

#Failure(type, **value) ⇒ Object



12
13
14
# File 'lib/solid/output/mixin.rb', line 12

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

#Success(type, **value) ⇒ Object



8
9
10
# File 'lib/solid/output/mixin.rb', line 8

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