Class: Cucumber::Formatter::LegacyApi::Adapter::ExamplesTablePrinter::LegacyTable

Inherits:
Struct
  • Object
show all
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



750
751
752
753
754
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 750

def col_width(index)
  max_width = FindMaxWidth.new(index)
  node.describe_to max_width
  max_width.result
end