Sha256: b24271a4ead7a3a012a6de02c9b0b8120d3ffbfe53269d23bb0255b004bb1b04
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
module Lucid # Only used for keeping track of available and invoked step definitions. class StepDefinitionUsage attr_reader :regexp_source, :file_colon_line def initialize(regexp_source, file_colon_line) @regexp_source, @file_colon_line = regexp_source, file_colon_line end def eql?(o) regexp_source == o.regexp_source && file_colon_line == o.file_colon_line end def hash regexp_source.hash + 31*file_colon_line.hash end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lucid-0.5.1 | lib/lucid/step_definition_usage.rb |
lucid-0.4.1 | lib/lucid/step_definition_usage.rb |
lucid-0.4.0 | lib/lucid/step_definition_usage.rb |