class Cucumber::TagExpressions::Literal

Literal expression node

def evaluate(variables)

def evaluate(variables)
  variables.include?(@value)
end

def initialize(value)

def initialize(value)
  @value = value
end

def to_s

def to_s
  @value
    .gsub(/\\/, '\\\\\\\\')
    .gsub(/\(/, '\\(')
    .gsub(/\)/, '\\)')
    .gsub(/\s/, '\\ ')
end