Skip to content

Commit

Permalink
Remove helper module
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru committed Sep 15, 2016
1 parent 982c72f commit 218938f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
10 changes: 7 additions & 3 deletions lib/rack/simple_user_agent/detectors.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
require "rack/simple_user_agent/detectors/helper"
require "rack/simple_user_agent/detectors/bot"
require "rack/simple_user_agent/detectors/smartphone"

module Rack
class SimpleUserAgent
module Detectors
include Helper
include Smartphone
include Bot
include Smartphone

private

def user_agent_string
user_agent.to_s
end
end
end
end
14 changes: 0 additions & 14 deletions lib/rack/simple_user_agent/detectors/helper.rb

This file was deleted.

0 comments on commit 218938f

Please sign in to comment.