summaryrefslogtreecommitdiff
path: root/ruby_2_2/lib/rdoc/markup/paragraph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/lib/rdoc/markup/paragraph.rb')
-rw-r--r--ruby_2_2/lib/rdoc/markup/paragraph.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/ruby_2_2/lib/rdoc/markup/paragraph.rb b/ruby_2_2/lib/rdoc/markup/paragraph.rb
deleted file mode 100644
index 7180729f75..0000000000
--- a/ruby_2_2/lib/rdoc/markup/paragraph.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-##
-# A Paragraph of text
-
-class RDoc::Markup::Paragraph < RDoc::Markup::Raw
-
- ##
- # Calls #accept_paragraph on +visitor+
-
- def accept visitor
- visitor.accept_paragraph self
- end
-
- ##
- # Joins the raw paragraph text and converts inline HardBreaks to the
- # +hard_break+ text.
-
- def text hard_break = ''
- @parts.map do |part|
- if RDoc::Markup::HardBreak === part then
- hard_break
- else
- part
- end
- end.join
- end
-
-end
-