module Wapi::InfoParser::ClassMethods
Public Instance Methods
content_for(html, where)
click to toggle source
# File lib/wapi/parsers/info.rb, line 4 def content_for html, where html.css("#content .info div")[where].content.strip.split(":")[1].strip end