Class: CapturefulFormatter::Notifications::StepNotification

Inherits:
Struct
  • Object
show all
Defined in:
lib/captureful_formatter/notifications.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



3
4
5
# File 'lib/captureful_formatter/notifications.rb', line 3

def description
  @description
end

#extra_argsObject

Returns the value of attribute extra_args

Returns:

  • (Object)

    the current value of extra_args



3
4
5
# File 'lib/captureful_formatter/notifications.rb', line 3

def extra_args
  @extra_args
end

#keywordObject

Returns the value of attribute keyword

Returns:

  • (Object)

    the current value of 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