If there are only 2 args, this could simply be:

```ruby
root, html_node = args
```

as in this example:

```ruby
> args = ["div", 1]
 => ["div", 1] 
> root, html_node = args
 => ["div", 1] 
> root
 => "div" 
> html_node
 => 1 
```