Sha256: 93d781c9a31954ae95c02bcfee801b73aff5daf5ea387485cc2f0e75fec02b5e
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
module Reality class << self extend Memoist # FIXME: Or something ¯\_(ツ)_/¯ # Like proper "registering" themselves and blah blah memoize def describers {} end def wikipedia describers['wikipedia'] end def open_street_map describers['openstreetmap'] end alias openstreetmap open_street_map alias osm open_street_map def wikidata describers['wikidata'] end def commons describers['wikimedia-commons'] end def open_weather_map describers['open_weather_map'] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reality-0.1.0.alpha3 | lib/reality/describers.rb |
reality-0.1.0.alpha2 | lib/reality/describers.rb |
reality-0.1.0.alpha | lib/reality/describers.rb |