X7ROOT File Manager
Current Path:
/opt/alt/ruby25/lib64/ruby/2.5.0/rdoc/parser
opt
/
alt
/
ruby25
/
lib64
/
ruby
/
2.5.0
/
rdoc
/
parser
/
ðŸ“
..
📄
c.rb
(35.35 KB)
📄
changelog.rb
(4.93 KB)
📄
markdown.rb
(474 B)
📄
rd.rb
(438 B)
📄
ripper_state_lex.rb
(16.93 KB)
📄
ruby.rb
(55.1 KB)
📄
ruby_tools.rb
(2.61 KB)
📄
simple.rb
(1.42 KB)
📄
text.rb
(307 B)
Editing: markdown.rb
# frozen_string_literal: true ## # Parse a Markdown format file. The parsed RDoc::Markup::Document is attached # as a file comment. class RDoc::Parser::Markdown < RDoc::Parser include RDoc::Parser::Text parse_files_matching(/\.(md|markdown)(?:\.[^.]+)?$/) ## # Creates an Markdown-format TopLevel for the given file. def scan comment = RDoc::Comment.new @content, @top_level comment.format = 'markdown' @top_level.comment = comment end end
Upload File
Create Folder