Class: DeviceDetector::MetadataExtractor
- Inherits:
-
Struct
- Object
- Struct
- DeviceDetector::MetadataExtractor
- Defined in:
- lib/device_detector/metadata_extractor.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#regex_meta ⇒ Object
Returns the value of attribute regex_meta.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
Instance Attribute Details
#regex_meta ⇒ Object
Returns the value of attribute regex_meta
4 5 6 |
# File 'lib/device_detector/metadata_extractor.rb', line 4 def @regex_meta end |
#user_agent ⇒ Object
Returns the value of attribute user_agent
4 5 6 |
# File 'lib/device_detector/metadata_extractor.rb', line 4 def user_agent @user_agent end |
Instance Method Details
#call ⇒ Object
5 6 7 |
# File 'lib/device_detector/metadata_extractor.rb', line 5 def call .any? ? : nil end |