lib/squib/conf.rb in squib-0.17.2 vs lib/squib/conf.rb in squib-0.18.0

- old
+ new

@@ -21,10 +21,11 @@ 'count_format' => '%02d', 'custom_colors' => {}, 'dir' => '_output', 'hint' => :none, 'img_dir' => '.', + 'img_missing' => :warn, 'progress_bars' => false, 'prefix' => 'card_', 'ldquote' => "\u201C", # UTF8 chars 'rdquote' => "\u201D", 'lsquote' => "\u2018", @@ -70,9 +71,13 @@ "Conf: #{@config_hash.to_s}" end def img_dir @config_hash['img_dir'] + end + + def img_missing + @config_hash['img_missing'].to_sym end def text_hint @config_hash['text_hint'] end