Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
parseable?(text)
public
Returns true if text is valid ruby syntax
# File lib/rdoc/markup/to_html.rb, line 384
def parseable? text
eval("BEGIN {return true}\n#{text}")
rescue SyntaxError
false
end