Prefer string interpolation to concatenation
This commit is contained in:
parent
45d4242f9d
commit
bfffe7ed96
13 changed files with 30 additions and 30 deletions
|
@ -62,7 +62,7 @@ module Potlatch
|
|||
|
||||
# Envelope data into AMF writeable form
|
||||
def self.putdata(index, n)
|
||||
d = encodestring(index + "/onResult")
|
||||
d = encodestring("#{index}/onResult")
|
||||
d += encodestring("null")
|
||||
d += [-1].pack("N")
|
||||
d += encodevalue(n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue