module Cucumber::Glue::ProtoWorld

def embed(file, mime_type, _label = 'Screenshot')

Embed an image in the output
def embed(file, mime_type, _label = 'Screenshot')
  Cucumber.deprecate(
    'Please use attach(file, media_type) instead',
    'embed(file, mime_type, label)',
    '6.0.0'
  )
  attach(file, mime_type)
end