summaryrefslogtreecommitdiff
path: root/pygments/lexers/ruby.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/ruby.py')
-rw-r--r--pygments/lexers/ruby.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/ruby.py b/pygments/lexers/ruby.py
index e9973eea..52ba23ad 100644
--- a/pygments/lexers/ruby.py
+++ b/pygments/lexers/ruby.py
@@ -335,7 +335,8 @@ class RubyLexer(ExtendedRegexLexer):
include('root')
],
'in-intp': [
- ('}', String.Interpol, '#pop'),
+ (r'{', String.Interpol, '#push'),
+ (r'}', String.Interpol, '#pop'),
include('root'),
],
'string-intp': [