class CucumberStatistics::UnusedSteps

Public Class Methods

new() click to toggle source
# File lib/cucumber_statistics/unused_steps.rb, line 3
def initialize
  @all = Hash.new
end

Public Instance Methods

all() click to toggle source
# File lib/cucumber_statistics/unused_steps.rb, line 14
def all
  @all
end
record(step_name, where) click to toggle source
# File lib/cucumber_statistics/unused_steps.rb, line 7
def record step_name, where
  result = @all[step_name]
  result = where

  @all[step_name] ||= result
end