lib/vedeu/output/renderers/all.rb in vedeu-0.6.47 vs lib/vedeu/output/renderers/all.rb in vedeu-0.6.48
- old
+ new
@@ -17,11 +17,11 @@
#
# @return [Array<void>]
def clear
threads = storage.map do |renderer|
Vedeu.log(type: :output,
- message: "Clearing via #{renderer.class.name}")
+ message: "Clearing via #{renderer.class.name}".freeze)
Thread.new(renderer) do
mutex.synchronize do
toggle_cursor { renderer.clear }
end
@@ -51,10 +51,10 @@
# @param output [void]
# @return [Array<void>]
def render(output)
threads = storage.map do |renderer|
Vedeu.log(type: :output,
- message: "Rendering via #{renderer.class.name}")
+ message: "Rendering via #{renderer.class.name}".freeze)
Thread.new(renderer) do
mutex.synchronize do
toggle_cursor { renderer.render(output) }
end