Class: MapnikLegendary::Tags
- Inherits:
-
Object
- Object
- MapnikLegendary::Tags
- Defined in:
- lib/mapnik_legendary/tags.rb
Class Method Summary collapse
Class Method Details
.merge_nulls(tags, extras) ⇒ Object
5 6 7 8 9 |
# File 'lib/mapnik_legendary/tags.rb', line 5 def self.merge_nulls(, extras) = {} if .nil? extras = [] if extras.nil? Hash[extras.map { |t| [t, 'null'] }].merge() end |