Class: Jpmobile::Mobile::Tablet
- Inherits:
-
SmartPhone
- Object
- AbstractMobile
- SmartPhone
- Jpmobile::Mobile::Tablet
- Defined in:
- lib/jpmobile/mobile/tablet.rb
Direct Known Subclasses
Constant Summary
Constants inherited from AbstractMobile
AbstractMobile::MAIL_ADDRESS_REGEXP, AbstractMobile::MAIL_CHARSET, AbstractMobile::MAIL_CONTENT_TRANSFER_ENCODING, AbstractMobile::USER_AGENT_REGEXP
Instance Attribute Summary
Attributes inherited from AbstractMobile
Instance Method Summary collapse
-
#smart_phone? ⇒ Boolean
smartphone なので true.
-
#tablet? ⇒ Boolean
tablet なので true.
Methods inherited from SmartPhone
#apply_filter?, #apply_params_filter?, #supports_cookie?, #valid_ip?
Methods inherited from AbstractMobile
add_user_agent_regexp, #apply_filter?, #apply_params_filter?, carrier, check_carrier, #content_transfer_encoding, #decode_transfer_encoding, #decoratable?, #decorated?, #default_charset, #display, #ident, #ident_device, #ident_subscriber, #initialize, ip_address_class, #mail_charset, #mail_variants, #position, #require_related_part?, #supports_cookie?, #to_external, #to_internal, #to_mail_body, #to_mail_body_encoded?, #to_mail_encoding, #to_mail_internal, #to_mail_subject, #to_mail_subject_encoded?, user_agent_regexp, #utf8_to_mail_encode, #valid_ip?, valid_ip?, #variants
Constructor Details
This class inherits a constructor from Jpmobile::Mobile::AbstractMobile
Instance Method Details
#smart_phone? ⇒ Boolean
smartphone なので true
6 7 8 |
# File 'lib/jpmobile/mobile/tablet.rb', line 6 def smart_phone? true end |
#tablet? ⇒ Boolean
tablet なので true
11 12 13 |
# File 'lib/jpmobile/mobile/tablet.rb', line 11 def tablet? true end |