Class: Cucumber::Messages::TableCell
- Defined in:
- lib/cucumber/messages/table_cell.rb
Overview
Represents the TableCell message in Cucumber’s message protocol.
A cell in a ‘TableRow`
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
The location of the cell.
-
#value ⇒ Object
readonly
The value of the cell.
Class Method Summary collapse
-
.from_h(hash) ⇒ Object
Returns a new TableCell from the given hash.
Instance Method Summary collapse
-
#initialize(location: Location.new, value: '') ⇒ TableCell
constructor
A new instance of TableCell.
Methods inherited from Message
camelize, from_json, #to_h, #to_json
Constructor Details
Instance Attribute Details
#location ⇒ Object (readonly)
The location of the cell
16 17 18 |
# File 'lib/cucumber/messages/table_cell.rb', line 16 def location @location end |
#value ⇒ Object (readonly)
The value of the cell
21 22 23 |
# File 'lib/cucumber/messages/table_cell.rb', line 21 def value @value end |