Sha256: 0253ed37eedb9eb94743979e317e8726507279b9cf1f649fbafa489a5c989b57
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 Bytes
Contents
require 'cucumber/core/ast/location' module Cucumber module WireSupport class WireStepDefinition attr_reader :regexp_source, :location def initialize(connection, data) @connection = connection @id = data['id'] @regexp_source = data['regexp'] || "Unknown" @location = data['source'] ? Cucumber::Core::Ast::Location.from_file_colon_line(data['source']) : Cucumber::Core::Ast::Location.new("Unknown") end def invoke(args) @connection.invoke(@id, args) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-2.1.0 | lib/cucumber/wire_support/wire_step_definition.rb |