Class: Cucumber::Formatter::Console::SnippetData
- Inherits:
-
Object
- Object
- Cucumber::Formatter::Console::SnippetData
- Defined in:
- lib/cucumber/formatter/console.rb
Instance Attribute Summary collapse
-
#actual_keyword ⇒ Object
readonly
Returns the value of attribute actual_keyword.
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(actual_keyword, step) ⇒ SnippetData
constructor
A new instance of SnippetData.
Constructor Details
#initialize(actual_keyword, step) ⇒ SnippetData
Returns a new instance of SnippetData.
260 261 262 263 |
# File 'lib/cucumber/formatter/console.rb', line 260 def initialize(actual_keyword, step) @actual_keyword = actual_keyword @step = step end |
Instance Attribute Details
#actual_keyword ⇒ Object (readonly)
Returns the value of attribute actual_keyword.
258 259 260 |
# File 'lib/cucumber/formatter/console.rb', line 258 def actual_keyword @actual_keyword end |
#step ⇒ Object (readonly)
Returns the value of attribute step.
258 259 260 |
# File 'lib/cucumber/formatter/console.rb', line 258 def step @step end |