Class: Cucumber::Events::Envelope
- Defined in:
- lib/cucumber/events/envelope.rb
Instance Attribute Summary collapse
-
#envelope ⇒ Object
readonly
Returns the value of attribute envelope.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(envelope) ⇒ Envelope
constructor
A new instance of Envelope.
- #inspect ⇒ Object
- #to_s ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(envelope) ⇒ Envelope
Returns a new instance of Envelope.
14 15 16 17 |
# File 'lib/cucumber/events/envelope.rb', line 14 def initialize(envelope) @envelope = envelope super() end |
Instance Attribute Details
#envelope ⇒ Object (readonly)
Returns the value of attribute envelope.
8 9 10 |
# File 'lib/cucumber/events/envelope.rb', line 8 def envelope @envelope end |
Class Method Details
.event_id ⇒ Object
10 11 12 |
# File 'lib/cucumber/events/envelope.rb', line 10 def self.event_id :envelope end |
Instance Method Details
#inspect ⇒ Object
19 20 21 |
# File 'lib/cucumber/events/envelope.rb', line 19 def inspect "Envelope Event -> Message Type: #{type}}" end |
#to_s ⇒ Object
23 24 25 |
# File 'lib/cucumber/events/envelope.rb', line 23 def to_s inspect end |