Skip to content

Commit 329bff6

Browse files
committed
Fix style
1 parent 221769f commit 329bff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/ruby/core/proc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ def to_s
8989
base = super()
9090
file, line = source_location
9191

92-
suffix = "".b
92+
suffix = ''.b
9393
if sym = Truffle.invoke_primitive(:proc_symbol_to_proc_symbol, self)
9494
suffix << "(&#{sym.inspect})"
9595
elsif file and line
9696
suffix << "@#{file}:#{line}"
9797
end
9898
suffix << ' (lambda)' if lambda?
99-
base.b.insert -2, suffix
99+
base.b.insert(-2, suffix)
100100
end
101101
alias_method :inspect, :to_s
102102

0 commit comments

Comments
 (0)