lib/egp_rates/adib.rb
def rates(table_rows)
      table_rows.map do |e|
        e.css('.content').map(&:text).map(&:strip).map do |txt|
          txt.split("\n").map(&:strip)
        end
      end
    end
def rates(table_rows)
      table_rows.map do |e|
        e.css('.content').map(&:text).map(&:strip).map do |txt|
          txt.split("\n").map(&:strip)
        end
      end
    end
def rates ( table_rows ) table_rows . map do | e | e . css ( '.content' ) . map ( :text ) . map ( :strip ) . map do | txt | txt . split ( "\n" ) . map ( :strip ) end end end
Extract the text descriping the exchange rates from content <p> nodes
 @return [Array<Array>] text description for buy/sell rates
Extract the text descriping the exchange rates from content <p > nodes