class Wapi::ConditionParser::Wind

Public Class Methods

extract(html) click to toggle source
# 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