We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b77b1b commit 0352226Copy full SHA for 0352226
app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/config/ruby.rb
@@ -52,7 +52,7 @@
52
:nest_except => [:double_quote, :single_quote, :regex, :back_tick])
53
54
ruby.add_matcher(:standard,
55
- /(#{start_statement_boundary}(module|class|def))/,
+ /(#{start_statement_boundary}(module|class|def)\b)/,
56
/(((^|;|\s)end)|#{continue_statement_boundary}(rescue|ensure))\b/,
57
:nest_except => [:double_quote, :regex, :backtick])
58
0 commit comments