Class: Matest::ExceptionRaised

Inherits:
SpecStatus show all
Defined in:
lib/matest/spec_status.rb

Instance Attribute Summary collapse

Attributes inherited from SpecStatus

#example, #result

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SpecStatus

#description, #initialize, #location, #name, to_s

Constructor Details

This class inherits a constructor from Matest::SpecStatus

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



68
69
70
# File 'lib/matest/spec_status.rb', line 68

def exception
  @exception
end

Class Method Details

.nameObject



73
74
75
# File 'lib/matest/spec_status.rb', line 73

def self.name
  "ERROR"
end

Instance Method Details

#to_sObject



69
70
71
# File 'lib/matest/spec_status.rb', line 69

def to_s
  "E"
end