Sha256: 7ae455699519396b76719bbaa16bd6cbeb20be1f398af03e7dd95412aad40b65

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voight_kampff-2.0.0 lib/voight_kampff/methods.rb
voight_kampff-1.1.4 lib/voight_kampff/methods.rb
voight_kampff-1.1.3 lib/voight_kampff/methods.rb
voight_kampff-1.1.2 lib/voight_kampff/methods.rb
voight_kampff-1.1.1 lib/voight_kampff/methods.rb