module ScrapCbf::ElementNokogiri
This helper is a outliner. The purpose of this module is given a better interface for the object generate by Nokogiri. We can think as them as an extansion for the Nokogiri obj element. This module may disappear later.
Public Instance Methods
remove_whitespace(element)
click to toggle source
# File lib/scrap_cbf/helpers/lib/element_nokogiri.rb, line 13 def remove_whitespace(element) element.text.gsub(/\s+/, '') end