Class: Cucumber::Events::AttachCalled

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/events/attach_called.rb

Overview

Fired when attach is called in a step definition

Instance Attribute Summary collapse

Instance Attribute Details

#filenameObject (readonly)

An optional filename



16
17
18
# File 'lib/cucumber/events/attach_called.rb', line 16

def filename
  @filename
end

#media_typeObject (readonly)

The content media type



13
14
15
# File 'lib/cucumber/events/attach_called.rb', line 13

def media_type
  @media_type
end

#srcObject (readonly)

The attachment body



10
11
12
# File 'lib/cucumber/events/attach_called.rb', line 10

def src
  @src
end