Class: Hecks::Bluebook::SmokeTest::Failure

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/bluebook/smoke_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aggregateObject

Returns the value of attribute aggregate

Returns:

  • (Object)

    the current value of aggregate



41
42
43
# File 'lib/hecks/bluebook/smoke_test.rb', line 41

def aggregate
  @aggregate
end

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



41
42
43
# File 'lib/hecks/bluebook/smoke_test.rb', line 41

def command
  @command
end

#domainObject

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



41
42
43
# File 'lib/hecks/bluebook/smoke_test.rb', line 41

def domain
  @domain
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



41
42
43
# File 'lib/hecks/bluebook/smoke_test.rb', line 41

def error
  @error
end

Instance Method Details

#to_sObject



42
# File 'lib/hecks/bluebook/smoke_test.rb', line 42

def to_s = "#{domain}::#{aggregate}.#{command}: #{error}"