Sha256: dad4659c241e230a645f0c774e4d75ec6d0915aeb1cf9ae78eb1d732eee129f2
Contents?: true
Size: 537 Bytes
Versions: 40
Compression:
Stored size: 537 Bytes
Contents
# -*- coding: utf-8 -*- # =スマートフォンの親クラス module Jpmobile::Mobile class SmartPhone < AbstractMobile # 無効化 def valid_ip? false end # cookie は有効と見なす def supports_cookie? true end # smartphone なので true def smart_phone? true end # Jpmobile::Rack::Filter は適用しない def apply_filter? false end # Jpmobile::Rack::ParamsFilter は適用しない def apply_params_filter? false end end end
Version data entries
40 entries across 40 versions & 1 rubygems