class Cucumber::StepMatch

def format_args(format = ->(a) { a }, &proc)


lambda { |param| "[#{param}]" }

argument, for example:
If it is a Proc, it should take one argument and return the formatted

'%s'

Kernel#sprinf, for example:
If it is a String it should be a format string according to

The +format+ can either be a String or a Proc.

is usually called from visitors, which render output.
Formats the matched arguments of the associated Step. This method
def format_args(format = ->(a) { a }, &proc)
  replace_arguments(@name_to_match, @step_arguments, format, &proc)
end