Skip to content

Commit df3f9f7

Browse files
authored
Merge pull request #300 from yahonda/tidy-redundant-to-s-in-interpolation
Drop redundant .to_s inside string interpolation
2 parents 1af9094 + ff9bc9c commit df3f9f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/plsql/jdbc_connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def close
189189

190190
def bind_param_index(key)
191191
return key if key.kind_of? Integer
192-
key = ":#{key.to_s}" unless key.to_s =~ /^:/
192+
key = ":#{key}" unless key.to_s =~ /^:/
193193
@params.index(key) + 1
194194
end
195195
end

0 commit comments

Comments
 (0)