Class: Wapi::ConditionParser::Wind
- Inherits:
-
Object
- Object
- Wapi::ConditionParser::Wind
- Includes:
- InfoParser
- Defined in:
- lib/wapi/parsers/wind.rb
Class Method Summary collapse
Methods included from InfoParser
Class Method Details
.extract(html) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/wapi/parsers/wind.rb', line 11 def self.extract html { direction: content_for(html, @xpath[:direction]), strength: content_for(html, @xpath[:strength]) } end |