Sha256: 7db75a506e81dba2c938d4ce405cf63c08b0d7d176d1e60c629c19311f5e1704
Contents?: true
Size: 680 Bytes
Versions: 5
Compression:
Stored size: 680 Bytes
Contents
module LetterAvatar module Configuration def cache_base_path @cache_base_path end def cache_base_path=(v) @cache_base_path = v end def fill_color @fill_color || Avatar::FILL_COLOR end def fill_color=(v) @fill_color = v end def colors_palette @colors_palette ||= :google end def colors_palette=(v) @colors_palette = v if v.in?(Colors::PALETTES) end def weight @weight ||= 300 end def weight=(v) @weight = v end def annotate_position @annotate_position ||= '-0+5' end def annotate_position=(v) @annotate_position = v end end end
Version data entries
5 entries across 5 versions & 1 rubygems