lib/plagiarism/strategy.rb in plagiarism2-0.0.10 vs lib/plagiarism/strategy.rb in plagiarism2-0.0.11
- old
+ new
@@ -1,16 +1,15 @@
require 'plagiarism/strategries/engine'
require 'plagiarism/strategries/google'
-require 'plagiarism/strategries/free_google'
require 'plagiarism/strategries/bing'
require 'plagiarism/strategries/duck'
require 'plagiarism/strategries/yahoo'
module Plagiarism
module Strategy
extend self
- def get(name = :free_google)
+ def get(name = :yahoo)
Strategies.const_get(name.to_s.split('_').map(&:capitalize).join(''))
end
def unique?(content, params)
Config.strategies.all? do |strategy|