lib/emojidex/defaults.rb in emojidex-0.1.0 vs lib/emojidex/defaults.rb in emojidex-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
module Emojidex
# Global defines for emojidex
class Defaults
- @@selected_sizes = [:mdpi, :px32]
+ @@selected_sizes = [:hdpi, :px32]
@@selected_formats = [:png]
def self.sizes
{ ldpi: 13, mdpi: 18, hdpi: 27, xhdpi: 36, xxhdpi: 54, xxxhdpi: 72,
px8: 8, px16: 16, px32: 32, px64: 64, px128: 128, px256: 256, px512: 512,
@@ -28,8 +28,16 @@
50
end
def self.lang
'en'
+ end
+
+ def self.encapsulator
+ ':'
+ end
+
+ def self.system_cache_path
+ ENV['EMOJI_CACHE'] || "#{ENV['HOME']}/.emojidex/"
end
end
end