Sha256: df113b678a24b8c2b728665e091958290e30e732c85aefbe1199f743a62014a9

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

module Rack
  class SimpleUserAgent
    module Detectors
      module WindowsPhone
        def from_windows_phone?
          user_agent_string.include?("Windows Phone")
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-simple_user_agent-0.4.0 lib/rack/simple_user_agent/detectors/windows_phone.rb
rack-simple_user_agent-0.3.0 lib/rack/simple_user_agent/detectors/windows_phone.rb
rack-simple_user_agent-0.3.0.rc lib/rack/simple_user_agent/detectors/windows_phone.rb