method
new
v8.1.1 -
Show latest stable
- Class:
CodeBlockConverter
new(file_path)public
No documentation available.
# File tools/rdoc-to-md, line 145
def initialize(file_path)
@file_path = file_path
@parse_result = Prism.parse_file(@file_path)
@parse_result.attach_comments!
@cv = CommentVisitor.new
@source = @parse_result.source.source
@parse_result.value.accept(@cv)
end