lib/tty/markdown/converter.rb in tty-markdown-0.7.0 vs lib/tty/markdown/converter.rb in tty-markdown-0.7.1
- old
+ new
@@ -22,12 +22,10 @@
@pastel = Pastel.new(enabled: options[:enabled])
@color_opts = { mode: options[:mode],
color: @pastel.yellow.detach,
enabled: options[:enabled] }
@width = options[:width]
- @theme = options[:theme].each_with_object({}) do |(key, val), acc|
- acc[key] = Array(val)
- end
+ @theme = options[:theme]
@symbols = options[:symbols]
@footnote_no = 1
@footnotes = {}
end