Add support for parsing ruby code after heredoc identifier