You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ion`
Fixesrubocop#9032.
This PR fixes an error for `Style/DocumentDynamicEvalDefinition` when using
eval-type method with interpolated string that is not heredoc without comment doc.
It may be better to provide an option to accept non-heredoc interpolated-string in future.
Fixes#9032.
This PR fixes an error for `Style/DocumentDynamicEvalDefinition` when using
eval-type method with interpolated string that is not heredoc without comment doc.
It may be better to provide an option to accept non-heredoc interpolated-string in future.
This code causes
Style/DocumentDynamicEvalDefinition
to throw an error:I don't have any custom configuration for this cop.
Expected behavior
I would expect this cop to work with no errors.
Actual behavior
Here is the error log, you may notice "undefined method `heredoc_body'" error message:
Steps to reproduce the problem
I've upgraded rubocop to 1.3.0 and ran it on my codebase.
RuboCop version
The text was updated successfully, but these errors were encountered: