Class: Cucumber::Distrib::Events::SourceReference
- Inherits:
-
Object
- Object
- Cucumber::Distrib::Events::SourceReference
- 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
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(source_reference) ⇒ SourceReference
constructor
A new instance of SourceReference.
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
#location ⇒ Object (readonly)
Returns the value of attribute location.
234 235 236 |
# File 'lib/cucumber/distrib/events.rb', line 234 def location @location end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
234 235 236 |
# File 'lib/cucumber/distrib/events.rb', line 234 def uri @uri end |