Class: Literal::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/literal/result.rb

Direct Known Subclasses

Failure, Success

Defined Under Namespace

Classes: Emitter, Generic, Thrown

Instance Method Summary collapse

Instance Method Details

#handleObject



69
70
71
# File 'lib/literal/result.rb', line 69

def handle(&)
  Literal::ResultHandler.new(self).handle(&)
end