class FuzzyGherkin::Main

Main Class to keep everything in for the time being

Public Instance Methods

compare(base_step = 'I press the latte button', threshold = 0.80) click to toggle source
# File lib/fuzzy_gherkin.rb, line 19
def compare(base_step = 'I press the latte button', threshold = 0.80)
  comparitor = Comparitor.new(base_step, threshold)
  comparitor.compare_all_steps_in_files
  io = IO.new(comparitor.base_step, comparitor.similar_steps)
  io.write_results
end