Class: CI::Reporter::TestUtils::Accessor::Failure

Inherits:
Struct
  • Object
show all
Defined in:
lib/ci/reporter/test_utils/accessor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#xmlObject

Returns the value of attribute xml

Returns:

  • (Object)

    the current value of xml



7
8
9
# File 'lib/ci/reporter/test_utils/accessor.rb', line 7

def xml
  @xml
end

Instance Method Details

#typeObject



8
9
10
# File 'lib/ci/reporter/test_utils/accessor.rb', line 8

def type
  xml.attributes['type']
end