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).
# File lib/cucumber/step_definition_light.rb, line 8 def initialize(regexp_source, location) @regexp_source, @location = regexp_source, location end
# File lib/cucumber/step_definition_light.rb, line 12 def eql?(o) regexp_source == o.regexp_source && location == o.location end
# File lib/cucumber/step_definition_light.rb, line 16 def hash regexp_source.hash + 31*location.to_s.hash end