Alias Ruby::Node#to_ary to #to_a

JRuby 1.7 uses to_ary opposed to to_a.
This commit is contained in:
Yorick Peterse committed 2015-08-30 02:06:10 +02:00
1 parent b74f8dc1a3
commit bf0ca7c907
1 file changed
+2
+2
View File
@@ -44,6 +44,8 @@ module Oga
@children
end
alias_method :to_ary, :to_a
##
# Returns a "to_a" call node.
#