biola/Voight-Kampff

View on GitHub
lib/voight_kampff/methods.rb

Summary

Maintainability
A
0 mins
Test Coverage
module VoightKampff::Methods
  def human?
    VoightKampff::Test.new(user_agent).human?
  end

  def bot?
    VoightKampff::Test.new(user_agent).bot?
  end
  alias :replicant? :bot?
end