class Lucid::StepDefinitionUsage

Only used for keeping track of available and invoked step definitions.

Attributes

file_colon_line[R]
regexp_source[R]

Public Class Methods

new(regexp_source, file_colon_line) click to toggle source
# File lib/lucid/step_definition_usage.rb, line 6
def initialize(regexp_source, file_colon_line)
  @regexp_source, @file_colon_line = regexp_source, file_colon_line
end

Public Instance Methods

eql?(o) click to toggle source
# File lib/lucid/step_definition_usage.rb, line 10
def eql?(o)
  regexp_source == o.regexp_source && file_colon_line == o.file_colon_line
end
hash() click to toggle source
# File lib/lucid/step_definition_usage.rb, line 14
def hash
  regexp_source.hash + 31*file_colon_line.hash
end