lib/image_optim/worker/pngout.rb in image_optim-0.31.1 vs lib/image_optim/worker/pngout.rb in image_optim-0.31.2
- old
+ new
@@ -9,14 +9,14 @@
class Pngout < Worker
COPY_CHUNKS_OPTION =
option(:copy_chunks, false, 'Copy optional chunks'){ |v| !!v }
STRATEGY_OPTION =
- option(:strategy, 0, 'Strategy: '\
- '`0` - xtreme, '\
- '`1` - intense, '\
- '`2` - longest Match, '\
- '`3` - huffman Only, '\
+ option(:strategy, 0, 'Strategy: ' \
+ '`0` - xtreme, ' \
+ '`1` - intense, ' \
+ '`2` - longest Match, ' \
+ '`3` - huffman Only, ' \
'`4` - uncompressed') do |v|
OptionHelpers.limit_with_range(v.to_i, 0..4)
end
def run_order