Sha256: 8ff017e51d67725b9af46c99da5b899d83deb03d4ce2fd0bd5e7d1e527c60903
Contents?: true
Size: 161 Bytes
Versions: 7
Compression:
Stored size: 161 Bytes
Contents
# coding: utf-8 module Retter::HTMLSupport def texts_of(str, selector) Nokogiri::HTML(str).search(selector).map {|el| el.text.strip } end end
Version data entries
7 entries across 7 versions & 1 rubygems