StringArgument

public struct StringArgument : Argument, CustomStringConvertible

Argument type to hold String content. Currently intended only for use with Gherkin doc strings.

  • Name of the argument

    Declaration

    Swift

    public let name: String?
  • Swift-y convention to return StringArgument.content

    Declaration

    Swift

    public var description: String { get }
  • Returns the content of the doc string

    Declaration

    Swift

    public var content: String { get }
  • Returns the content type of the doc string from Gherkin

    Declaration

    Swift

    public var contentType: String? { get }