private Method

Elements.copy_node(node, l)

There's no documentation for this item.

Source Code

# File hpricot/elements.rb, line 362
def copy_node(node, l)
    l.instance_variables.each do |iv|
        node.instance_variable_set(iv, l.instance_variable_get(iv))
    end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.