aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/blank_line.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/blank_line.rb')
-rw-r--r--lib/rdoc/markup/blank_line.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/rdoc/markup/blank_line.rb b/lib/rdoc/markup/blank_line.rb
new file mode 100644
index 0000000000..a8c07c8e57
--- /dev/null
+++ b/lib/rdoc/markup/blank_line.rb
@@ -0,0 +1,19 @@
+##
+# An empty line
+
+class RDoc::Markup::BlankLine
+
+ def == other # :nodoc:
+ self.class == other.class
+ end
+
+ def accept visitor
+ visitor.accept_blank_line self
+ end
+
+ def pretty_print q # :nodoc:
+ q.text 'blankline'
+ end
+
+end
+