Skip to content

Commit 0352226

Browse files
committed
Server - improve syntax indentation
1 parent 5b77b1b commit 0352226

File tree

1 file changed

+1
-1
lines changed
  • app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/config

1 file changed

+1
-1
lines changed

app/server/ruby/vendor/ruby-beautify/lib/ruby-beautify/config/ruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
:nest_except => [:double_quote, :single_quote, :regex, :back_tick])
5353

5454
ruby.add_matcher(:standard,
55-
/(#{start_statement_boundary}(module|class|def))/,
55+
/(#{start_statement_boundary}(module|class|def)\b)/,
5656
/(((^|;|\s)end)|#{continue_statement_boundary}(rescue|ensure))\b/,
5757
:nest_except => [:double_quote, :regex, :backtick])
5858

0 commit comments

Comments
 (0)