Class: RSpec::Risky::Minitest::Plugin::Result
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Risky::Minitest::Plugin::Result
- Defined in:
- lib/rspec/risky/minitest/plugin.rb
Instance Attribute Summary collapse
-
#evidence ⇒ Object
Returns the value of attribute evidence.
-
#message ⇒ Object
Returns the value of attribute message.
-
#rule ⇒ Object
Returns the value of attribute rule.
Instance Method Summary collapse
Instance Attribute Details
#evidence ⇒ Object
Returns the value of attribute evidence
15 16 17 |
# File 'lib/rspec/risky/minitest/plugin.rb', line 15 def evidence @evidence end |
#message ⇒ Object
Returns the value of attribute message
15 16 17 |
# File 'lib/rspec/risky/minitest/plugin.rb', line 15 def @message end |
#rule ⇒ Object
Returns the value of attribute rule
15 16 17 |
# File 'lib/rspec/risky/minitest/plugin.rb', line 15 def rule @rule end |
Instance Method Details
#to_h ⇒ Object
16 17 18 |
# File 'lib/rspec/risky/minitest/plugin.rb', line 16 def to_h { rule: rule, message: , evidence: evidence } end |