Class: Cucumber::Formatter::LegacyApi::Adapter::ExamplesTablePrinter::LegacyTable
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Formatter::LegacyApi::Adapter::ExamplesTablePrinter::LegacyTable
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Defined Under Namespace
Classes: FindMaxWidth
Instance Method Summary collapse
Instance Method Details
#col_width(index) ⇒ Object
738 739 740 741 742 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 738 def col_width(index) max_width = FindMaxWidth.new(index) node.describe_to max_width max_width.result end |