Class: Cucumber::Distrib::Events::Hook

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) ⇒ Hook



196
197
198
# File 'lib/cucumber/distrib/events.rb', line 196

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



194
195
196
# File 'lib/cucumber/distrib/events.rb', line 194

def id
  @id
end