method

new

rails latest stable - Class: CodeBlockConverter

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

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