Sha256: 226636910b93cd11e18a694922ef2993800ebf58a08ae8e4faa2108f2d8eff71
Contents?: true
Size: 394 Bytes
Versions: 15
Compression:
Stored size: 394 Bytes
Contents
module CASino module ProcessorConcern module Browser def browser_info(user_agent) user_agent = UserAgent.parse(user_agent) "#{user_agent.browser} (#{user_agent.platform})" end def same_browser?(user_agent, other_user_agent) user_agent == other_user_agent || browser_info(user_agent) == browser_info(other_user_agent) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems