Module: Wapi::InfoParser::ClassMethods
- Defined in:
- lib/wapi/parsers/info.rb
Instance Method Summary collapse
Instance Method Details
#content_for(html, where) ⇒ Object
4 5 6 |
# 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 |