class Cucumber::Formatter::Usage::StepDefKey
Attributes
Public Class Methods
Source
# File lib/cucumber/formatter/usage.rb, line 15 def initialize(regexp_source, location) @regexp_source = regexp_source @location = location end
Public Instance Methods
Source
# File lib/cucumber/formatter/usage.rb, line 20 def eql?(other) regexp_source == other.regexp_source && location == other.location end
Source
# File lib/cucumber/formatter/usage.rb, line 24 def hash regexp_source.hash + 31 * location.to_s.hash end