lib/vedeu/output/compositor.rb in vedeu-0.4.8 vs lib/vedeu/output/compositor.rb in vedeu-0.4.9
- old
+ new
@@ -28,12 +28,12 @@
@name = name
end
# @return [Array<Interface>]
def compose
- buffer.map do |view|
- view.colour = interface.colour unless view.colour
- view.style = interface.style unless view.style
+ buffer.each do |view|
+ view.colour = interface.colour unless view.colour
+ view.style = interface.style unless view.style
Vedeu::Output.render(view)
end
end