class Cucumber::StepDefinitionLight
Used for reporting purposes only (usage formatter).
in a way that also works for other programming languages (i.e. cuke4duke)
Only used for keeping track of available and invoked step definitions
TODO: pointless, ancient, kill with fire.
def eql?(other)
def eql?(other) regexp_source == other.regexp_source && location == other.location end
def hash
def hash regexp_source.hash + 31 * location.to_s.hash end
def initialize(regexp_source, location)
def initialize(regexp_source, location) @regexp_source = regexp_source @location = location end