Class: Specifier::Formatter::Base::Recording
- Inherits:
-
Struct
- Object
- Struct
- Specifier::Formatter::Base::Recording
- Defined in:
- lib/specifier/formatter/base.rb
Instance Attribute Summary collapse
-
#example ⇒ Object
Returns the value of attribute example.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
Instance Attribute Details
#example ⇒ Object
Returns the value of attribute example
4 5 6 |
# File 'lib/specifier/formatter/base.rb', line 4 def example @example end |
#result ⇒ Object
Returns the value of attribute result
4 5 6 |
# File 'lib/specifier/formatter/base.rb', line 4 def result @result end |
Instance Method Details
#fail? ⇒ Boolean
13 14 15 |
# File 'lib/specifier/formatter/base.rb', line 13 def fail? status.eql?(:fail) end |
#pass? ⇒ Boolean
9 10 11 |
# File 'lib/specifier/formatter/base.rb', line 9 def pass? status.eql?(:pass) end |
#status ⇒ Object
5 6 7 |
# File 'lib/specifier/formatter/base.rb', line 5 def status result.status end |