lib/unparser/writer/dynamic_string.rb in unparser-0.5.4 vs lib/unparser/writer/dynamic_string.rb in unparser-0.5.5
- old
+ new
@@ -18,10 +18,10 @@
%i[str_nl_eol begin str_nl_eol],
%i[str_ws begin str_nl_eol]
]
)
- FLAT_INTERPOLATION = %i[ivar cvar gvar].to_set.freeze
+ FLAT_INTERPOLATION = %i[ivar cvar gvar nth_ref].to_set.freeze
private_constant(*constants(false))
def emit_heredoc_reminder
return unless heredoc?