Parent

CI::Reporter::SpinachFailure

Public Class Methods

new(type, step, failure, step_location) click to toggle source
# File lib/ci/reporter/spinach.rb, line 47
def initialize(type, step, failure, step_location)
  @type = type
  @step = step
  @failure = failure
  @step_location = step_location
end

Public Instance Methods

error?() click to toggle source
# File lib/ci/reporter/spinach.rb, line 58
def error?
  @type == :error
end
failure?() click to toggle source
# File lib/ci/reporter/spinach.rb, line 54
def failure?
  @type == :failed
end
location() click to toggle source
# File lib/ci/reporter/spinach.rb, line 70
def location
  @failure.backtrace.join("\n")
end
message() click to toggle source
# File lib/ci/reporter/spinach.rb, line 66
def message
  @failure.message
end
name() click to toggle source
# File lib/ci/reporter/spinach.rb, line 62
def name
  @failure.class.name
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.