Node#replace should have similar semantics as adding/appending
dlee opened this issue · comments
Adding and appending check for:
if native?(node)
...
elsif String === node
...
else
...
end
Node#replace
should similarly check for native and string arguments.
Fixed on master.