Class: Cucumber::Formatter::Console::SnippetData

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/console.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actual_keyword, step) ⇒ SnippetData

Returns a new instance of SnippetData.



257
258
259
260
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/console.rb', line 257

def initialize(actual_keyword, step)
  @actual_keyword = actual_keyword
  @step = step
end

Instance Attribute Details

#actual_keywordObject (readonly)

Returns the value of attribute actual_keyword.



255
256
257
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/console.rb', line 255

def actual_keyword
  @actual_keyword
end

#stepObject (readonly)

Returns the value of attribute step.



255
256
257
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/console.rb', line 255

def step
  @step
end