lib/egp_rates/adib.rb
def currencies(table_rows)
      table_rows.lazy.map do |e|
        e.css('img').map { |img| img.attribute('src').value }
      end.force.flatten
    end
def currencies(table_rows)
      table_rows.lazy.map do |e|
        e.css('img').map { |img| img.attribute('src').value }
      end.force.flatten
    end
def currencies ( table_rows ) table_rows . lazy . map do | e | e . css ( 'img' ) . map { | img | img . attribute ( 'src' ) . value } end . force . flatten end
Extract the currencies from the image components src attribute
 @return [Array<String>] containing the URL to image of the currency
Extract the currencies from the image components src attribute