Skip to content

Commit 71b798f

Browse files
committed
NodeSet#to_a to be aliased to #to_ary
1 parent aa3a4b4 commit 71b798f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opal/browser/dom/node_set.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ def xpath(path)
114114
def to_ary
115115
@literal
116116
end
117+
118+
alias to_a to_ary
117119
end
118120

119121
end; end

0 commit comments

Comments
 (0)