Sha256: 1e0b540ce373c73a951c44e0219e1e2650d563321b6d1992fa9bb022b5710607
Contents?: true
Size: 620 Bytes
Versions: 40
Compression:
Stored size: 620 Bytes
Contents
module Cucumber # Only used for keeping track of available and invoked step definitions # in a way that also works for other programming languages (i.e. cuke4duke) # Used for reporting purposes only (usage formatter). class StepDefinitionLight 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
40 entries across 38 versions & 2 rubygems