Class: Cucumber::Distrib::Events::UndefinedParameterType

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

Overview

Object that mimic Cucumber::Event::UndefinedParameterType on Leader for reporters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ UndefinedParameterType

Returns a new instance of UndefinedParameterType.

Parameters:

  • event (Cucumber::Events::UndefinedParameterType)


447
448
449
450
451
# File 'lib/cucumber/distrib/events.rb', line 447

def initialize(event)
  super()
  @type_name = event.type_name
  @expression = Expression.new
end

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



444
445
446
# File 'lib/cucumber/distrib/events.rb', line 444

def expression
  @expression
end

#type_nameObject (readonly)

Returns the value of attribute type_name.



444
445
446
# File 'lib/cucumber/distrib/events.rb', line 444

def type_name
  @type_name
end