Class: Cucumber::Events::AttachCalled
- Inherits:
-
Object
- Object
- Cucumber::Events::AttachCalled
- Defined in:
- lib/cucumber/events/attach_called.rb
Overview
Fired when attach is called in a step definition
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
An optional filename.
-
#media_type ⇒ Object
readonly
The content media type.
-
#src ⇒ Object
readonly
The attachment body.
Instance Attribute Details
#filename ⇒ Object (readonly)
An optional filename
16 17 18 |
# File 'lib/cucumber/events/attach_called.rb', line 16 def filename @filename end |
#media_type ⇒ Object (readonly)
The content media type
13 14 15 |
# File 'lib/cucumber/events/attach_called.rb', line 13 def media_type @media_type end |
#src ⇒ Object (readonly)
The attachment body
10 11 12 |
# File 'lib/cucumber/events/attach_called.rb', line 10 def src @src end |