how do I interpolate string in ruby snippets?
Asked by
Russell
How do I interpolate in ruby snippets given that '{' needs to be escaped?
I've tried the following variations but they do not work.
snippet in "interpolate ruby"
$#{1:ruby_code}
endsnippet
snippet in "interpolate ruby"
$#\{1:ruby_code}
endsnippet
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Russell
- Solved:
- Last query:
- Last reply:
To post a message you must log in.