method

from

rails latest stable - Class: Comment

Method not available on this version

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

from(comment_nodes)
public

No documentation available.

# File tools/rdoc-to-md, line 32
    def from(comment_nodes)
      comments_source_lines = source_lines_for(comment_nodes)

      if comments_source_lines.first == "##"
        MetaComment
      else
        Comment
      end.new(comments_source_lines)
    end