lib/rrtf/node/command_node.rb in rrtf-1.1.0 vs lib/rrtf/node/command_node.rb in rrtf-1.2.0
- old
+ new
@@ -162,9 +162,17 @@
def line_break
self.store(CommandNode.new(self, '\line', nil, false))
nil
end
+ # This method provides a short cut means of creating a column break command
+ # node. This command node does not take a block and may possess no other
+ # content.
+ def column_break
+ self.store(CommandNode.new(self, '\column', nil, false))
+ nil
+ end
+
# This method inserts a footnote at the current position in a node.
#
# ==== Parameters
# text:: A string containing the text for the footnote.
def footnote(text)