Class: CapturefulFormatter::Notifications::StepNotification
- Inherits:
-
Struct
- Object
- Struct
- CapturefulFormatter::Notifications::StepNotification
- Defined in:
- lib/captureful_formatter/notifications.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
Class Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
3 4 5 |
# File 'lib/captureful_formatter/notifications.rb', line 3 def description @description end |
#extra_args ⇒ Object
Returns the value of attribute extra_args
3 4 5 |
# File 'lib/captureful_formatter/notifications.rb', line 3 def extra_args @extra_args end |
#keyword ⇒ Object
Returns the value of attribute keyword
3 4 5 |
# File 'lib/captureful_formatter/notifications.rb', line 3 def keyword @keyword end |
Class Method Details
.from_step_object(data) ⇒ Object
7 8 9 |
# File 'lib/captureful_formatter/notifications.rb', line 7 def self.from_step_object(data) new data.description, data.keyword, data.extra_args end |