Class: Matest::ExceptionRaised

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

Instance Attribute Summary collapse

Attributes inherited from SpecStatus

#block, #description, #result

Instance Method Summary collapse

Methods inherited from SpecStatus

#initialize, #location

Constructor Details

This class inherits a constructor from Matest::SpecStatus

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



119
120
121
# File 'lib/matest.rb', line 119

def exception
  @exception
end

Instance Method Details

#nameObject



124
125
126
# File 'lib/matest.rb', line 124

def name
  "ERROR"
end

#to_sObject



120
121
122
# File 'lib/matest.rb', line 120

def to_s
  "E"
end