Class: Cucumber::Distrib::Events::HookStep

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

Overview

PORO wrapper of corresponding cucumber event for safe transportation to Leader over DRb.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ HookStep

Returns a new instance of HookStep.



205
206
207
# File 'lib/cucumber/distrib/events.rb', line 205

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



203
204
205
# File 'lib/cucumber/distrib/events.rb', line 203

def id
  @id
end