Class: Cucumber::Distrib::Events::SourceReference

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(source_reference) ⇒ SourceReference

Returns a new instance of SourceReference.



236
237
238
239
# File 'lib/cucumber/distrib/events.rb', line 236

def initialize(source_reference)
  @uri = source_reference.uri
  @location = source_reference.location
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



234
235
236
# File 'lib/cucumber/distrib/events.rb', line 234

def location
  @location
end

#uriObject (readonly)

Returns the value of attribute uri.



234
235
236
# File 'lib/cucumber/distrib/events.rb', line 234

def uri
  @uri
end