Method: Cucumber::Runtime::UserInterface#attach

Defined in:
lib/cucumber/runtime/user_interface.rb

#attach(src, media_type, filename) ⇒ Object

Embed src of MIME type mime_type into the output. The src argument may be a path to a file, or if it’s an image it may also be a Base64 encoded image. The embedded data may or may not be ignored, depending on what kind of formatter(s) are active.

[View source] [View on GitHub]

44
45
46
# File 'lib/cucumber/runtime/user_interface.rb', line 44

def attach(src, media_type, filename)
  @visitor.attach(src, media_type, filename)
end