lib/vedeu/output/renderers/terminal.rb in vedeu-0.6.11 vs lib/vedeu/output/renderers/terminal.rb in vedeu-0.6.12
- old
+ new
@@ -15,9 +15,16 @@
# @return [Vedeu::Renderers::Terminal]
def initialize(options = {})
@options = options || {}
end
+ # Render a cleared output.
+ #
+ # @return [String]
+ def clear
+ Vedeu::Terminal.clear
+ end
+
# @param output [Vedeu::Models::Page]
# @return [Array<String>]
def render(output)
output = parse(output)