parseable?(text)
Returns true if Ripper is available it can create a sexp from text
# File lib/rdoc/markup/to_html.rb, line 384 def parseable? text text =~ /\b(def|class|module|require) |=>|\{\s?\||do \|/ and text !~ /<%|%>/ end