fnando / browser

Do some browser detection with Ruby. Includes ActionController integration.
MIT License
2.45k stars 361 forks source link

Add browser.device.desktop? #505

Open toshimaru opened 3 years ago

toshimaru commented 3 years ago

I'd like to check if the device is desktop (the device is neither mobile nor tablet). This PR adds browser.device.desktop? method.

kylefox commented 2 years ago

I know this is fairly old, but it would be a super useful addition. @fnando do you think this could be merged?

watanabemasahiro128 commented 5 months ago

I agree with kylefox.

@fnando How about you?