Class Cucumber::Runtime::ForProgrammingLanguages
In: lib/cucumber/runtime/for_programming_languages.rb
Parent: Object

This is what a programming language will consider to be a runtime.

It‘s a thin class that directs the handul of methods needed by the programming languages to the right place.

Methods

doc_string   new   table  

Public Class methods

Public Instance methods

Returns a regular String for string_with_triple_quotes. Example:

  """
   hello
  world
  """

Is retured as: " hello\nworld"

Returns a Cucumber::Ast::Table for text_or_table, which can either be a String:

  table(%{
    | account | description | amount |
    | INT-100 | Taxi        | 114    |
    | CUC-101 | Peeler      | 22     |
  })

or a 2D Array:

  table([
    %w{ account description amount },
    %w{ INT-100 Taxi        114    },
    %w{ CUC-101 Peeler      22     }
  ])

[Validate]