Commit 8a43ec75 authored by skandhas's avatar skandhas

delete needless output in String#[]=

parent 308b41c1
......@@ -133,7 +133,6 @@ class String
def []=(pos, value)
b = self[0, pos]
a = self[pos+1..-1]
p [b, value, a].join('')
self.replace([b, value, a].join(''))
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment