Sha256: cdb4e4b6a465b8aff8492ee33b13611b922c005d36b9af0e8cb5e9d0593b750f
Contents?: true
Size: 851 Bytes
Versions: 1
Compression:
Stored size: 851 Bytes
Contents
# frozen_string_literal: true module Kovid # Sends info about continents to Tablelize module Aggregators def eu_aggregate(eu_data) aggregated_table(eu_data, 'The EU', Kovid::Request::EU_ISOS, '🇪🇺') end def europe_aggregate(europe_data) aggregated_table(europe_data, 'Europe', Kovid::Request::EUROPE_ISOS, '🏰') end def africa_aggregate(africa_data) aggregated_table(africa_data, 'Africa', Kovid::Request::AFRICA_ISOS, '🌍') end def south_america_aggregate(south_america_data) aggregated_table(south_america_data, 'South America', Kovid::Request::SOUTH_AMERICA_ISOS, '🌎') end def asia_aggregate(asia_data) aggregated_table(asia_data, 'Asia', Kovid::Request::ASIA_ISOS, '🌏') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kovid-0.6.6 | lib/kovid/aggregators.rb |