lib/vedeu/output/compositor.rb in vedeu-0.2.7 vs lib/vedeu/output/compositor.rb in vedeu-0.2.8
- old
+ new
@@ -6,9 +6,12 @@
# @api private
class Compositor
include Common
+ # Convenience method to initialize a new Compositor and call its {#render}
+ # method.
+ #
# @param name [String] The name of the interface/buffer.
# @return [Compositor]
def self.render(name)
new(name).render
end