lib/vedeu/output/compositor.rb in vedeu-0.3.1 vs lib/vedeu/output/compositor.rb in vedeu-0.3.2
- old
+ new
@@ -45,27 +45,26 @@
# correct place.
#
# @return [Array<Interface>]
def compose
buffer.map do |view|
- view.border = interface.border unless view.border
view.colour = interface.colour unless view.colour
view.style = interface.style unless view.style
- view.geometry = interface.geometry unless view.geometry
Output.render(view)
end
end
private
attr_reader :name
+ # @return [Vedeu::Interface]
def buffer
Vedeu.buffers.find(name).content
end
- # @return [Interface]
+ # @return [Vedeu::Interface]
def interface
@interface ||= Vedeu.interfaces.find(name)
end
end # Compositor