Class: StoredReporter::Fail

Inherits:
Object
  • Object
show all
Defined in:
lib/dashboard/stored_reporter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(desc, result, a = nil, b = nil) ⇒ Fail

Returns a new instance of Fail.



37
38
39
40
# File 'lib/dashboard/stored_reporter.rb', line 37

def initialize desc, result, a = nil, b = nil
  self.desc = desc
  self.result = result
end

Instance Attribute Details

#aObject

Returns the value of attribute a.



35
36
37
# File 'lib/dashboard/stored_reporter.rb', line 35

def a
  @a
end

#bObject

Returns the value of attribute b.



35
36
37
# File 'lib/dashboard/stored_reporter.rb', line 35

def b
  @b
end

#descObject

Returns the value of attribute desc.



35
36
37
# File 'lib/dashboard/stored_reporter.rb', line 35

def desc
  @desc
end

#resultObject

Returns the value of attribute result.



35
36
37
# File 'lib/dashboard/stored_reporter.rb', line 35

def result
  @result
end