Class: StoredReporter::Fail
- Inherits:
-
Object
- Object
- StoredReporter::Fail
- Defined in:
- lib/dashboard/stored_reporter.rb
Instance Attribute Summary collapse
-
#a ⇒ Object
Returns the value of attribute a.
-
#b ⇒ Object
Returns the value of attribute b.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(desc, result, a = nil, b = nil) ⇒ Fail
constructor
A new instance of Fail.
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
#a ⇒ Object
Returns the value of attribute a.
35 36 37 |
# File 'lib/dashboard/stored_reporter.rb', line 35 def a @a end |
#b ⇒ Object
Returns the value of attribute b.
35 36 37 |
# File 'lib/dashboard/stored_reporter.rb', line 35 def b @b end |
#desc ⇒ Object
Returns the value of attribute desc.
35 36 37 |
# File 'lib/dashboard/stored_reporter.rb', line 35 def desc @desc end |
#result ⇒ Object
Returns the value of attribute result.
35 36 37 |
# File 'lib/dashboard/stored_reporter.rb', line 35 def result @result end |