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.



115
116
117
# File 'lib/matest.rb', line 115

def exception
  @exception
end

Instance Method Details

#nameObject



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

def name
  "ERROR"
end

#to_sObject



116
117
118
# File 'lib/matest.rb', line 116

def to_s
  "E"
end