Skip to content

Commit

Permalink
NodeSet#to_a to be aliased to #to_ary
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdne committed Nov 23, 2021
1 parent aa3a4b4 commit 71b798f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opal/browser/dom/node_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def xpath(path)
def to_ary
@literal
end

alias to_a to_ary
end

end; end

0 comments on commit 71b798f

Please sign in to comment.