class Cucumber::Ast::PyString

:nodoc:
Note how the indentation from the source is stripped away.
example above, that would return: "I like\nCucumber sandwich"
The StepDefinition can then access the String via the #to_s method. In the
which is yielded to the StepDefinition block as the last argument.
The text between the pair of """ is stored inside a PyString,
“”“
Cucumber sandwich
I like
”“”
Given the message
Represents an inline argument in a step. Example:

def self.default_arg_name

:nodoc:

Note how the indentation from the source is stripped away.

example above, that would return: "I like\nCucumber sandwich"
The StepDefinition can then access the String via the #to_s method. In the

which is yielded to the StepDefinition block as the last argument.
The text between the pair of """ is stored inside a PyString,

"""
Cucumber sandwich
I like
"""
Given the message

Represents an inline argument in a step. Example:
def self.default_arg_name
  "string"
end

def accept(visitor)

def accept(visitor)
  return if $cucumber_interrupted
  visitor.visit_py_string(to_s)
end

def arguments_replaced(arguments) #:nodoc:

:nodoc:
def arguments_replaced(arguments) #:nodoc:
  string = @string
  arguments.each do |name, value|
    value ||= ''
    string = string.gsub(name, value)
  end
  PyString.new(@start_line, @end_line, string, @quotes_indent)
end

def has_text?(text)

def has_text?(text)
  @string.index(text)
end

def initialize(start_line, end_line, string, quotes_indent)

def initialize(start_line, end_line, string, quotes_indent)
  @start_line, @end_line = start_line, end_line
  @string, @quotes_indent = string.gsub(/\\"/, '"'), quotes_indent
end

def to_s

def to_s
  @string.indent(-@quotes_indent)
end

def to_sexp #:nodoc:

:nodoc:
For testing only
def to_sexp #:nodoc:
  [:py_string, to_s]
end