Class: Qless::FailureFormatter::Failure
- Inherits:
-
Struct
- Object
- Struct
- Qless::FailureFormatter::Failure
- Defined in:
- lib/qless/failure_formatter.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#to_ary ⇒ Object
allow de-structring assignment.
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group
6 7 8 |
# File 'lib/qless/failure_formatter.rb', line 6 def group @group end |
#message ⇒ Object
Returns the value of attribute message
6 7 8 |
# File 'lib/qless/failure_formatter.rb', line 6 def @message end |
Instance Method Details
#to_ary ⇒ Object
allow de-structring assignment
8 9 10 |
# File 'lib/qless/failure_formatter.rb', line 8 def to_ary [group, ] end |