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
13 14 15 |
# File 'lib/specifier/formatter/base.rb', line 13 def example @example end |
#result ⇒ Object
Returns the value of attribute result
13 14 15 |
# File 'lib/specifier/formatter/base.rb', line 13 def result @result end |
Instance Method Details
#fail? ⇒ Boolean
22 23 24 |
# File 'lib/specifier/formatter/base.rb', line 22 def fail? status.eql?(:fail) end |
#pass? ⇒ Boolean
18 19 20 |
# File 'lib/specifier/formatter/base.rb', line 18 def pass? status.eql?(:pass) end |
#status ⇒ Object
14 15 16 |
# File 'lib/specifier/formatter/base.rb', line 14 def status result.status end |