Class: WEBrick::Tofulet
- Inherits:
-
Object
- Object
- WEBrick::Tofulet
- Defined in:
- lib/rabbit/div/tofu.rb
Instance Method Summary collapse
Instance Method Details
#mobile? ⇒ Boolean
8 9 10 |
# File 'lib/rabbit/div/tofu.rb', line 8 def mobile? %r[(DoCoMo|J-PHONE|Vodafone|MOT-|UP\.Browser|DDIPOCKET|ASTEL|PDXGW|Palmscape|Xiino|sharp pda browser|Windows CE|L-mode|WILLCOM)]i =~ @req["user-agent"] end |