Class: Nokogiri::XML::NodeSet
- Inherits:
-
Object
- Object
- Nokogiri::XML::NodeSet
- Defined in:
- lib/copa/nokogiri.rb
Instance Method Summary collapse
Instance Method Details
#to_clean_text ⇒ Object
7 8 9 |
# File 'lib/copa/nokogiri.rb', line 7 def to_clean_text inner_text.gsub /^\s*|\s*$/, '' end |