Class: Literal::Failure

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

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ Failure

Returns a new instance of Failure.



4
5
6
# File 'lib/literal/failure.rb', line 4

def initialize(error)
	@error = error
end