Sha256: 5e6cf4bdc839d7066f2fffa24673b77645fb90fc96b75d5ff49361e20f7cec3e
Contents?: true
Size: 631 Bytes
Versions: 99
Compression:
Stored size: 631 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
99 entries across 97 versions & 15 rubygems